mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 12:11:50 +01:00
Update libretro.c
This commit is contained in:
parent
96898b82ee
commit
0ecc9451cc
@ -1995,10 +1995,12 @@ bool retro_load_game(const struct retro_game_info *info)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
#ifdef FRONTEND_SUPPORTS_RGB565
|
#ifdef FRONTEND_SUPPORTS_RGB565
|
||||||
unsigned rgb565 = RETRO_PIXEL_FORMAT_RGB565;
|
{
|
||||||
if(environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &rgb565))
|
unsigned rgb565 = RETRO_PIXEL_FORMAT_RGB565;
|
||||||
if (log_cb)
|
if(environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &rgb565))
|
||||||
log_cb(RETRO_LOG_INFO, "Frontend supports RGB565 - will use that instead of XRGB1555.\n");
|
if (log_cb)
|
||||||
|
log_cb(RETRO_LOG_INFO, "Frontend supports RGB565 - will use that instead of XRGB1555.\n");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
sms_ntsc = calloc(1, sizeof(sms_ntsc_t));
|
sms_ntsc = calloc(1, sizeof(sms_ntsc_t));
|
||||||
|
Loading…
Reference in New Issue
Block a user