Work around Escape hotkey race with exit confirmation dialog

This commit is contained in:
mqudsi
2025-06-11 10:47:53 -05:00
committed by KeatonTheBot
parent 9f0a35ee9b
commit 878ea70aa9
2 changed files with 21 additions and 0 deletions
@@ -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);
}
}