From 0c326bba2f4ebe4bb9acbcafdd26aed58fd8a539 Mon Sep 17 00:00:00 2001 From: Toad King Date: Mon, 20 Aug 2012 20:10:55 -0400 Subject: [PATCH] (RARCH_CONSOLE) fix core-provided aspect ratio --- gfx/context/ps3_ctx.c | 2 +- gfx/context/xdk_ctx.c | 2 +- gx/gx_video.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/context/ps3_ctx.c b/gfx/context/ps3_ctx.c index db1a23e0ee..f7808d979b 100644 --- a/gfx/context/ps3_ctx.c +++ b/gfx/context/ps3_ctx.c @@ -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; diff --git a/gfx/context/xdk_ctx.c b/gfx/context/xdk_ctx.c index cc427b3a61..06e392d51c 100644 --- a/gfx/context/xdk_ctx.c +++ b/gfx/context/xdk_ctx.c @@ -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; diff --git a/gx/gx_video.c b/gx/gx_video.c index b5bc2afdf5..56c6f36948 100644 --- a/gx/gx_video.c +++ b/gx/gx_video.c @@ -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;