GUI-Qt fix full screen toggle hotkey

This commit is contained in:
refractionpcsx2 2022-07-18 01:52:26 +01:00
parent 3c5a39a99a
commit 395f4e904c
1 changed files with 1 additions and 1 deletions

View File

@ -1728,7 +1728,7 @@ DEFINE_HOTKEY("TogglePause", "System", "Toggle Pause", [](s32 pressed) {
}) })
DEFINE_HOTKEY("ToggleFullscreen", "System", "Toggle Fullscreen", [](s32 pressed) { DEFINE_HOTKEY("ToggleFullscreen", "System", "Toggle Fullscreen", [](s32 pressed) {
if (!pressed) if (!pressed)
Host::SetFullscreen(Host::IsFullscreen()); Host::SetFullscreen(!Host::IsFullscreen());
}) })
DEFINE_HOTKEY("ToggleFrameLimit", "System", "Toggle Frame Limit", [](s32 pressed) { DEFINE_HOTKEY("ToggleFrameLimit", "System", "Toggle Frame Limit", [](s32 pressed) {
if (!pressed) if (!pressed)