gpgx: clean up 32bpp code (no functional changes)
This commit is contained in:
parent
6c2aad545f
commit
3d7a0e445b
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue