From 7d293bdb1af7381897646e895c0c9dc6cf68ca9c Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Wed, 1 Apr 2020 22:46:48 -0400 Subject: [PATCH] GBHawk: fix speed mode switch timing --- .../Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs index 3d79627e92..cd10b591b0 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs @@ -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; }