mirror of https://github.com/snes9xgit/snes9x.git
SFX: Make SFX2 1/3 faster than 1.59.2.
This commit is contained in:
parent
43d54e1fb0
commit
8eca5590e1
|
@ -144,7 +144,7 @@ void S9xSuperFXExec (void)
|
||||||
{
|
{
|
||||||
if ((Memory.FillRAM[0x3000 + GSU_SFR] & FLG_G) && (Memory.FillRAM[0x3000 + GSU_SCMR] & 0x18) == 0x18)
|
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);
|
uint16 GSUStatus = Memory.FillRAM[0x3000 + GSU_SFR] | (Memory.FillRAM[0x3000 + GSU_SFR + 1] << 8);
|
||||||
if ((GSUStatus & (FLG_G | FLG_IRQ)) == FLG_IRQ)
|
if ((GSUStatus & (FLG_G | FLG_IRQ)) == FLG_IRQ)
|
||||||
|
|
Loading…
Reference in New Issue