From 9f766dbe7543819bdf44bb326665998af45c102d Mon Sep 17 00:00:00 2001 From: ToadKing Date: Mon, 22 Oct 2012 21:37:07 -0400 Subject: [PATCH] rgb565 fix --- frontend/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/libretro.c b/frontend/libretro.c index ad209b33..4305aa72 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -200,7 +200,7 @@ void retro_cheat_set(unsigned index, bool enabled, const char *code) bool retro_load_game(const struct retro_game_info *info) { enum retro_pixel_format fmt = RETRO_PIXEL_FORMAT_RGB565; - if (!environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt)) { + if (environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt)) { native_rgb565 = 1; fprintf(stderr, "RGB565 supported, using it\n"); } -- 2.39.5