From 53342d5550988a181d76a4a08d86b440c694c1e2 Mon Sep 17 00:00:00 2001 From: tomcw Date: Sat, 18 Jan 2020 17:15:54 +0000 Subject: [PATCH] Speed control using Ctrl+n: ignore if ALT is pressed. (Fixes #749) --- source/Frame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Frame.cpp b/source/Frame.cpp index 1b16ea52..4d7d2857 100644 --- a/source/Frame.cpp +++ b/source/Frame.cpp @@ -1420,6 +1420,7 @@ LRESULT CALLBACK FrameWndProc ( LogOutput("WM_KEYDOWN: %08X (scanCode=%04X)\n", wparam, (lparam>>16)&0xfff); #endif if (!IsJoyKey && + !KeybGetAltStatus() && // GH#749 - AltGr also fakes CTRL being pressed! (g_nAppMode != MODE_LOGO)) // !MODE_LOGO - not emulating so don't pass to the VM's keyboard { // GH#678 Alternate key(s) to toggle max speed