Libretro: Add warnings about pixel formats
Jeffrey Pfau jeffrey@endrift.com
Sun, 08 Mar 2015 22:26:24 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/platform/libretro/libretro.c
→
src/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);