(MSVC 2010) Fix PC and 360 solutions

This commit is contained in:
Twinaphex
2014-04-18 12:19:51 -07:00
parent b056c073bf
commit 319316e2a0
5 changed files with 28 additions and 574 deletions

View File

@@ -477,10 +477,11 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
void retro_init(void)
{
enum retro_pixel_format rgb565;
log_cb.log=default_logger;
environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &log_cb);
#ifdef FRONTEND_SUPPORTS_RGB565
enum retro_pixel_format rgb565 = RETRO_PIXEL_FORMAT_RGB565;
rgb565 = RETRO_PIXEL_FORMAT_RGB565;
if(environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &rgb565))
log_cb.log(RETRO_LOG_INFO, "Frontend supports RGB565 - will use that instead of XRGB1555.\n");
#endif