GBHawk: fix speed mode switch timing

This commit is contained in:
alyosha-tas 2020-04-01 22:46:48 -04:00
parent 86f5964262
commit 7d293bdb1a
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
{
speed_switch = false;
Console.WriteLine("Speed Switch: " + cpu.TotalExecutedCycles);
int ret = double_speed ? 70224 * 2 : 70224 * 2; // actual time needs checking
int ret = double_speed ? 35112 : 35112; // actual time needs checking
double_speed = !double_speed;
return ret;
}