gs: ensure coherent use of gsfreeze

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-05-14 11:34:22 +02:00 committed by Kojin
parent fbf10dcdf5
commit a781b4529b
1 changed files with 5 additions and 5 deletions

View File

@ -400,11 +400,11 @@ namespace Implementations
return; return;
if (renderswitch_delay == 0) if (renderswitch_delay == 0)
{ {
ScopedCoreThreadPause paused_core(); ScopedCoreThreadPause paused_core();
GSfreeze(); // TODO: add back saving/freezing of gs here -- govanify
renderswitch = !renderswitch; renderswitch = !renderswitch;
paused_core.AllowResume(); paused_core.AllowResume();
renderswitch_delay = -1; renderswitch_delay = -1;
} }
} }