From 2e61bafb1eca218f4d325f0986432b85db764e12 Mon Sep 17 00:00:00 2001 From: SuperrSonic Date: Thu, 5 Feb 2015 16:19:00 -0400 Subject: [PATCH 1/2] (GX) Use custom viewports in 240p --- gfx/drivers/gx_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/gx_gfx.c b/gfx/drivers/gx_gfx.c index 13ae141a15..aaadf41cf4 100644 --- a/gfx/drivers/gx_gfx.c +++ b/gfx/drivers/gx_gfx.c @@ -717,7 +717,7 @@ static void gx_resize(void *data) #endif GX_SetDispCopyGamma(g_extern.console.screen.gamma_correction); - if (gx->keep_aspect && gx_mode.efbHeight >= 480) /* ignore this for custom resolutions */ + if (gx->keep_aspect && gx_mode.efbHeight >= 240) /* ignore this for custom resolutions */ { float desired_aspect = g_extern.system.aspect_ratio; if (desired_aspect == 0.0) From 2a79810b0504149aca935d7d24506734ba5dd422 Mon Sep 17 00:00:00 2001 From: SuperrSonic Date: Thu, 5 Feb 2015 16:25:32 -0400 Subject: [PATCH 2/2] (GX) Added 608x240 for handheld cores with square pixels --- menu/menu_entries_cbs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu/menu_entries_cbs.c b/menu/menu_entries_cbs.c index 20d9feeac5..b7f12edf8e 100644 --- a/menu/menu_entries_cbs.c +++ b/menu/menu_entries_cbs.c @@ -63,6 +63,7 @@ enum GX_RESOLUTIONS_384_240, GX_RESOLUTIONS_512_240, GX_RESOLUTIONS_530_240, + GX_RESOLUTIONS_608_240, GX_RESOLUTIONS_640_240, GX_RESOLUTIONS_512_384, GX_RESOLUTIONS_598_400, @@ -105,6 +106,7 @@ unsigned menu_gx_resolutions[GX_RESOLUTIONS_LAST][2] = { { 384, 240 }, { 512, 240 }, { 530, 240 }, + { 608, 240 }, { 640, 240 }, { 512, 384 }, { 598, 400 },