summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraliaspider2015-11-13 21:41:22 +0100
committeraliaspider2015-11-13 21:41:22 +0100
commite7e3bce1282f17c33170d513c7bda470bfddb9d5 (patch)
tree1771342ed34c335b24182e4e2b30679b07527fdc /src
parent34d3b44696ffbd9c532bd3edff77a8cd0b60b6e8 (diff)
downloadsnes9x2002-e7e3bce1282f17c33170d513c7bda470bfddb9d5.tar.gz
snes9x2002-e7e3bce1282f17c33170d513c7bda470bfddb9d5.tar.bz2
snes9x2002-e7e3bce1282f17c33170d513c7bda470bfddb9d5.zip
more gfx fixes for non ARM platforms.
Diffstat (limited to 'src')
-rw-r--r--src/ppu.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/ppu.h b/src/ppu.h
index c4391dc..ecb2c2d 100644
--- a/src/ppu.h
+++ b/src/ppu.h
@@ -505,11 +505,8 @@ STATIC INLINE void REGISTER_2119_linear(uint8 Byte)
// Memory.FillRAM [0x2119] = Byte;
}
-#ifdef __OLD_RASTER_FX__
-STATIC INLINE void REGISTER_2122_delayedRasterFx(uint8 Byte)
-#else
+#ifndef __OLD_RASTER_FX__
STATIC INLINE void REGISTER_2122(uint8 Byte)
-#endif
{
// CG-RAM (palette) write
@@ -548,8 +545,8 @@ STATIC INLINE void REGISTER_2122(uint8 Byte)
// Memory.FillRAM [0x2122] = Byte;
}
-#ifdef __OLD_RASTER_FX__
-STATIC INLINE void REGISTER_2122_normalRasterFx(uint8 Byte)
+#else // __OLD_RASTER_FX__
+STATIC INLINE void REGISTER_2122(uint8 Byte)
{
// CG-RAM (palette) write
@@ -601,12 +598,6 @@ STATIC INLINE void REGISTER_2122_normalRasterFx(uint8 Byte)
// Memory.FillRAM [0x2122] = Byte;
}
-
-STATIC INLINE void REGISTER_2122(uint8 Byte)
-{
- if (snesMenuOptions.delayedRasterFX) REGISTER_2122_delayedRasterFx(Byte);
- else REGISTER_2122_normalRasterFx(Byte);
-}
#endif
STATIC INLINE void REGISTER_2180(uint8 Byte)