Comment says we want to update after a turbo seek. So, don't update if we weren't turbo seeking. (This removes double-updating tools after reaching the desired frame, unless turbo seek is turned on.)
This commit is contained in:
parent
9e8cf71509
commit
dfc1436c9f
|
@ -844,10 +844,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
set
|
||||
{
|
||||
bool wasTurboSeeking = IsTurboSeeking;
|
||||
_pauseOnFrame = value;
|
||||
SetPauseStatusBarIcon();
|
||||
|
||||
if (value == null) // TODO: make an Event handler instead, but the logic here is that after turbo seeking, tools will want to do a real update when the emulator finally pauses
|
||||
if (wasTurboSeeking && value == null) // TODO: make an Event handler instead, but the logic here is that after turbo seeking, tools will want to do a real update when the emulator finally pauses
|
||||
{
|
||||
Tools.UpdateToolsBefore();
|
||||
Tools.UpdateToolsAfter();
|
||||
|
|
Loading…
Reference in New Issue