Work around Escape hotkey race with exit confirmation dialog

This commit is contained in:
mqudsi authored and KeatonTheBot committed 2025-06-11 10:47:53 -05:00
1 parent 9f0a35ee9b
commit 878ea70aa9
2 files changed
+21

No files matched your search

@@ -111,5 +111,8 @@ namespace Ryujinx.Ava.UI.Helpers
[LibraryImport("user32.dll", SetLastError = true)]
public static partial IntPtr SetWindowLongPtrW(IntPtr hWnd, int nIndex, IntPtr value);
[LibraryImport("user32.dll", SetLastError = true)]
public static partial ushort GetAsyncKeyState(int nVirtKey);
}
}