Skip to content

Commit

Permalink
Allow EmuScreen to run behind the DevMenu popup
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Dec 18, 2023
1 parent 311b11c commit ef149bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/EmuScreen.cpp
Expand Up @@ -1479,7 +1479,7 @@ ScreenRenderFlags EmuScreen::render(ScreenRenderMode mode) {

if (mode & ScreenRenderMode::TOP) {
System_Notify(SystemNotification::KEEP_SCREEN_AWAKE);
} else if (!g_Config.bRunBehindPauseMenu) {
} else if (!g_Config.bRunBehindPauseMenu && strcmp(screenManager()->topScreen()->tag(), "DevMenu") != 0) {
// Not on top. Let's not execute, only draw the image.
draw->BindFramebufferAsRenderTarget(nullptr, { RPAction::CLEAR, RPAction::DONT_CARE, RPAction::DONT_CARE }, "EmuScreen_Stepping");
// Just to make sure.
Expand Down

0 comments on commit ef149bd

Please sign in to comment.