From 8eca5590e146bc74b096e23e79f58fc76f645d92 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Wed, 3 Apr 2019 13:14:14 -0500 Subject: [PATCH] SFX: Make SFX2 1/3 faster than 1.59.2. --- fxemu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fxemu.cpp b/fxemu.cpp index 2e0bdb30..b39517c5 100644 --- a/fxemu.cpp +++ b/fxemu.cpp @@ -144,7 +144,7 @@ void S9xSuperFXExec (void) { if ((Memory.FillRAM[0x3000 + GSU_SFR] & FLG_G) && (Memory.FillRAM[0x3000 + GSU_SCMR] & 0x18) == 0x18) { - FxEmulate(((Memory.FillRAM[0x3000 + GSU_CLSR] & 1) ? (SuperFX.speedPerLine * 5 / 2) : SuperFX.speedPerLine) * Settings.SuperFXClockMultiplier / 100); + FxEmulate(((Memory.FillRAM[0x3000 + GSU_CLSR] & 1) ? (SuperFX.speedPerLine * 8 / 3) : SuperFX.speedPerLine) * Settings.SuperFXClockMultiplier / 100); uint16 GSUStatus = Memory.FillRAM[0x3000 + GSU_SFR] | (Memory.FillRAM[0x3000 + GSU_SFR + 1] << 8); if ((GSUStatus & (FLG_G | FLG_IRQ)) == FLG_IRQ)