Add correct masks for the palette

This commit is contained in:
Fco Jose Garcia Garcia 2019-12-20 19:29:16 +01:00
parent 377fdf0e0c
commit 88a6b0bf4e

View File

@ -1653,7 +1653,7 @@ BOOL graphics_init(HWND phWnd)
#ifdef __LIBRETRO__ #ifdef __LIBRETRO__
palette_init = palette_init16; palette_init = palette_init16;
palette_init(0x001f,0x03e0,0x7c00); palette_init(0xf800,0x07c0,0x003e);
drawBuffer = (unsigned short*)screen->pixels; drawBuffer = (unsigned short*)screen->pixels;
#elif __GP32__ #elif __GP32__
palette_init = palette_init16; palette_init = palette_init16;