mirror of
https://github.com/libretro/pcsx2.git
synced 2025-02-08 18:57:54 +00:00
gs: ensure gspanel is correctly defined as in use when paused
This commit is contained in:
parent
a3a700eeaf
commit
b06468e268
@ -92,6 +92,8 @@ void MainEmuFrame::Menu_GSSettings_Click(wxCommandEvent& event)
|
||||
{
|
||||
ScopedCoreThreadPause paused_core;
|
||||
bool is_frame_closed = (wxGetApp().GetGsFramePtr() == nullptr);
|
||||
if (!is_frame_closed)
|
||||
is_frame_closed = !wxGetApp().GetGsFramePtr()->IsShown();
|
||||
freezeData fP = {0, nullptr};
|
||||
MTGS_FreezeData sstate = {&fP, 0};
|
||||
GetMTGS().Freeze(FREEZE_SIZE, sstate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user