From 4ab1493cf889fa1108cb8cafefcf1efe05c87658 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 10 Dec 2025 22:18:14 +0200 Subject: [PATCH] Release keys before pausing --- od-win32/win32.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/od-win32/win32.cpp b/od-win32/win32.cpp index c040b2e7..31526183 100644 --- a/od-win32/win32.cpp +++ b/od-win32/win32.cpp @@ -732,6 +732,9 @@ bool setpaused(int priority) //write_log (_T("pause %d (%d)\n"), priority, pause_emulation); if (pause_emulation > priority) return false; + if (!pause_emulation) { + wait_keyrelease(); + } pause_emulation = priority; devices_pause(); setsoundpaused (); -- 2.47.3