a better fix to turbo
This commit is contained in:
parent
a2d787efa4
commit
3ba7239a2b
|
@ -604,16 +604,12 @@ namespace BizHawk.MultiClient
|
||||||
throttle.SetCoreFps(Global.Emulator.CoreComm.VsyncRate);
|
throttle.SetCoreFps(Global.Emulator.CoreComm.VsyncRate);
|
||||||
|
|
||||||
throttle.signal_paused = EmulatorPaused || Global.Emulator is NullEmulator;
|
throttle.signal_paused = EmulatorPaused || Global.Emulator is NullEmulator;
|
||||||
throttle.signal_unthrottle = unthrottled;
|
throttle.signal_unthrottle = unthrottled || superfastforward;
|
||||||
|
|
||||||
if (fastforward)
|
if (fastforward)
|
||||||
{
|
{
|
||||||
throttle.SetSpeedPercent(Global.Config.SpeedPercentAlternate);
|
throttle.SetSpeedPercent(Global.Config.SpeedPercentAlternate);
|
||||||
}
|
}
|
||||||
else if (superfastforward)
|
|
||||||
{
|
|
||||||
throttle.SetSpeedPercent(int.MaxValue);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throttle.SetSpeedPercent(Global.Config.SpeedPercent);
|
throttle.SetSpeedPercent(Global.Config.SpeedPercent);
|
||||||
|
|
Loading…
Reference in New Issue