mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-19 09:46:30 +02:00
Work around Escape hotkey race with exit confirmation dialog
See merge request ryubing/ryujinx!54
This commit is contained in:
parent
90582e9e93
commit
512120db04
2 changed files with 21 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue