From 9989daec9442fbaf5252728aa411ca6a61648adf Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 5 May 2022 22:01:58 +0100 Subject: [PATCH] GSWindow: Remove force disable full screen hack now the GS Window doesn't suck --- pcsx2/gui/GlobalCommands.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pcsx2/gui/GlobalCommands.cpp b/pcsx2/gui/GlobalCommands.cpp index 7804f235f4..073f9b8148 100644 --- a/pcsx2/gui/GlobalCommands.cpp +++ b/pcsx2/gui/GlobalCommands.cpp @@ -307,19 +307,9 @@ namespace Implementations void Sys_Suspend() { - GSFrame* gsframe = wxGetApp().GetGsFramePtr(); - if (gsframe && gsframe->IsShown() && gsframe->IsFullScreen()) - { - // On some cases, probably due to driver bugs, if we don't exit fullscreen then - // the content stays on screen. Try to prevent that by first exiting fullscreen, - // but don't update the internal PCSX2 state/config, and PCSX2 will restore - // fullscreen correctly when emulation resumes according to its state/config. - gsframe->ShowFullScreen(false, false); - } - CoreThread.Suspend(); - gsframe = wxGetApp().GetGsFramePtr(); // just in case suspend removes this window + GSFrame* gsframe = wxGetApp().GetGsFramePtr(); if (gsframe && !wxGetApp().HasGUI() && g_Conf->GSWindow.CloseOnEsc) { // When we run with --nogui, PCSX2 only knows to exit when the gs window closes.