Vulkan: Fix bug when stepping / pausing-on-lost-focus

This commit is contained in:
Henrik Rydgård committed 2024-05-29 14:49:53 +02:00
1 parent d29a2a2b8c
commit 53ebba4a3e
3 files changed
+12 -7

No files matched your search

+1 -1
View File
@@ -844,7 +844,7 @@ namespace MainWindow
g_activeWindow = WINDOW_OTHER;
}
if (!noFocusPause && g_Config.bPauseOnLostFocus && GetUIState() == UISTATE_INGAME) {
if (pause != Core_IsStepping()) { // != is xor for bools
if (pause != Core_IsStepping()) {
if (disasmWindow)
SendMessage(disasmWindow->GetDlgHandle(), WM_COMMAND, IDC_STOPGO, 0);
else