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;
if (renderswitch_delay == 0)
{
ScopedCoreThreadPause paused_core();
GSfreeze();
renderswitch = !renderswitch;
paused_core.AllowResume();
renderswitch_delay = -1;
ScopedCoreThreadPause paused_core();
// TODO: add back saving/freezing of gs here -- govanify
renderswitch = !renderswitch;
paused_core.AllowResume();
renderswitch_delay = -1;
}
}