From ffe72224bd4cc0daa3d8e0cbe661539ef765b013 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Fri, 31 May 2019 12:25:08 -0500 Subject: [PATCH] Revert "SFX: Make SFX2 1/3 faster than 1.59.2." This reverts commit 8eca5590e146bc74b096e23e79f58fc76f645d92. --- fxemu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fxemu.cpp b/fxemu.cpp index b39517c5..2e0bdb30 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 * 8 / 3) : SuperFX.speedPerLine) * Settings.SuperFXClockMultiplier / 100); + FxEmulate(((Memory.FillRAM[0x3000 + GSU_CLSR] & 1) ? (SuperFX.speedPerLine * 5 / 2) : 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)