all repos — mgba @ 6c5a1315ea314587e3387538ccbe2eb42157fb70

mGBA Game Boy Advance Emulator

Libretro: Add warnings about pixel formats
Jeffrey Pfau jeffrey@endrift.com
Sun, 08 Mar 2015 22:26:24 -0700
commit

6c5a1315ea314587e3387538ccbe2eb42157fb70

parent

de7bd2fb551d860dc234c341117d523c1efc5e4a

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/platform/libretro/libretro.csrc/platform/libretro/libretro.c

@@ -77,9 +77,11 @@ #ifdef COLOR_16_BIT

#ifdef COLOR_5_6_5 fmt = RETRO_PIXEL_FORMAT_RGB565; #else +#warning This pixel format is unsupported. Please use -DCOLOR_16-BIT -DCOLOR_5_6_5 fmt = RETRO_PIXEL_FORMAT_0RGB1555; #endif #else +#warning This pixel format is unsupported. Please use -DCOLOR_16-BIT -DCOLOR_5_6_5 fmt = RETRO_PIXEL_FORMAT_XRGB8888; #endif environCallback(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt);