summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-03-26 07:06:36 -0500
committerGitHub <noreply@github.com>2026-03-26 07:06:36 -0500
commita3f4674bb7f7fcb6830ad33ed99195c630f090c1 (patch)
treed627dcc90df54a92130aaa9bd9a65a9dddfa45eb /Source/Core
parent3c8a72eb18326c7da5c5aeb94902293568a74638 (diff)
parent7ef7b6e3e9d7bb9f20dcfa9c32b74887ea4a97e5 (diff)
Merge pull request #14511 from Ma-Rang/pr/nogui-escape-win32
NoGUI: Add Escape key to request emulation shutdown on Windows
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinNoGUI/PlatformWin32.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
index 7304332682..ff07698115 100644
--- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp
+++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
@@ -197,6 +197,11 @@ LRESULT PlatformWin32::WndProc(const HWND hwnd, const UINT msg, const WPARAM wPa
}
break;
+ case WM_KEYDOWN:
+ if (wParam == VK_ESCAPE)
+ platform->RequestShutdown();
+ break;
+
case WM_CLOSE:
platform->RequestShutdown();
break;