mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Merge pull request #1393 from SuperrSonic/master
(GX) Enable custom viewports in 240p
This commit is contained in:
commit
fe279c5c4b
@ -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)
|
||||
|
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user