Work around Escape hotkey race with exit confirmation dialog

See merge request ryubing/ryujinx!54
This commit is contained in:
mqudsi 2025-06-10 22:52:08 -05:00 committed by GreemDev
parent 90582e9e93
commit 512120db04
2 changed files with 21 additions and 0 deletions

View file

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