diff options
author | aliaspider | 2015-11-13 21:41:22 +0100 |
---|---|---|
committer | aliaspider | 2015-11-13 21:41:22 +0100 |
commit | e7e3bce1282f17c33170d513c7bda470bfddb9d5 (patch) | |
tree | 1771342ed34c335b24182e4e2b30679b07527fdc /src | |
parent | 34d3b44696ffbd9c532bd3edff77a8cd0b60b6e8 (diff) | |
download | snes9x2002-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.h | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -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) |