diff --git a/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.cs b/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.cs index f7a6d44ff8..6390e0d24e 100644 --- a/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.cs +++ b/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.cs @@ -120,8 +120,8 @@ namespace BizHawk.Client.EmuHawk.tools.Genesis unsafe { int* pal = (int*)View.ColorCache; - for (int i = 0; i < 0x40; i++) - pal[i] |= unchecked((int)0xff000000); + //for (int i = 0; i < 0x40; i++) + // pal[i] |= unchecked((int)0xff000000); DrawPalettes(pal); DrawTiles(); ushort *VRAMNT = (ushort*)View.VRAM; diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs index 3141ec7f72..77b0712e63 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs @@ -659,7 +659,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx for (int j = 0; j < vheight; j++) { for (int i = 0; i < vwidth; i++) - *pdst++ = *psrc++ | unchecked((int)0xff000000); + *pdst++ = *psrc++;// | unchecked((int)0xff000000); psrc += rinc; } } diff --git a/genplus-gx/core/vdp_render.c b/genplus-gx/core/vdp_render.c index 30e53da580..c93329afd4 100644 --- a/genplus-gx/core/vdp_render.c +++ b/genplus-gx/core/vdp_render.c @@ -478,7 +478,7 @@ INLINE void WRITE_LONG(void *address, uint32 data) /* 8:8:8 RGB */ #elif defined(USE_32BPP_RENDERING) -#define MAKE_PIXEL(r,g,b) ((r) << 20 | (r) << 16 | (g) << 12 | (g) << 8 | (b) << 4 | (b)) +#define MAKE_PIXEL(r,g,b) (0xff000000 | (r) << 20 | (r) << 16 | (g) << 12 | (g) << 8 | (b) << 4 | (b)) #endif /* Window & Plane A clipping */ diff --git a/output/dll/libgenplusgx.dll b/output/dll/libgenplusgx.dll index e470b11c00..a0289b77e9 100644 Binary files a/output/dll/libgenplusgx.dll and b/output/dll/libgenplusgx.dll differ