Windows: Pause's fake CTRL needs to be adjusted for break code as well.

This commit is contained in:
OBattler
2025-01-03 19:44:03 +01:00
parent 5a40204e31
commit 117bbc43c7

View File

@@ -242,7 +242,7 @@ emu_LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam)
/* Pause - send E1 1D. */ /* Pause - send E1 1D. */
pclog("Send E1 1D\n"); pclog("Send E1 1D\n");
win_keyboard_handle(0xe1, 0, 0, 0); win_keyboard_handle(0xe1, 0, 0, 0);
win_keyboard_handle(0x1d, 0, 0, 0); win_keyboard_handle(0x1d, LLKHF_UP, 0, 0);
} }
} else if (!last && (lpKdhs->scanCode == 0x00000036)) } else if (!last && (lpKdhs->scanCode == 0x00000036))
/* Non-fake right shift. */ /* Non-fake right shift. */