(RARCH_CONSOLE) fix core-provided aspect ratio

This commit is contained in:
Toad King 2012-08-20 20:10:55 -04:00
parent dc76d834ae
commit 0c326bba2f
3 changed files with 3 additions and 3 deletions

View File

@ -355,7 +355,7 @@ void gfx_ctx_set_aspect_ratio(void *data, unsigned aspectratio_index)
if (g_console.aspect_ratio_index == ASPECT_RATIO_AUTO)
rarch_set_auto_viewport(g_extern.frame_cache.width, g_extern.frame_cache.height);
else if(g_console.aspect_ratio_index == ASPECT_RATIO_CUSTOM)
else if(g_console.aspect_ratio_index == ASPECT_RATIO_CORE)
rarch_set_core_viewport();
g_settings.video.aspect_ratio = aspectratio_lut[g_console.aspect_ratio_index].value;

View File

@ -158,7 +158,7 @@ void gfx_ctx_set_aspect_ratio(void *data, unsigned aspectratio_index)
if(g_console.aspect_ratio_index == ASPECT_RATIO_AUTO)
rarch_set_auto_viewport(g_extern.frame_cache.width, g_extern.frame_cache.height);
else if(g_console.aspect_ratio_index == ASPECT_RATIO_CUSTOM)
else if(g_console.aspect_ratio_index == ASPECT_RATIO_CORE)
rarch_set_core_viewport();
g_settings.video.aspect_ratio = aspectratio_lut[g_console.aspect_ratio_index].value;

View File

@ -70,7 +70,7 @@ void gx_set_aspect_ratio(void *data, unsigned aspectratio_idx)
if (g_console.aspect_ratio_index == ASPECT_RATIO_AUTO)
rarch_set_auto_viewport(g_extern.frame_cache.width, g_extern.frame_cache.height);
else if(g_console.aspect_ratio_index == ASPECT_RATIO_CUSTOM)
else if(g_console.aspect_ratio_index == ASPECT_RATIO_CORE)
rarch_set_core_viewport();
g_settings.video.aspect_ratio = aspectratio_lut[g_console.aspect_ratio_index].value;