mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
(PS3) Aspect ratio selection fix
This commit is contained in:
parent
be5695f802
commit
ff9f07e23f
@ -1295,12 +1295,14 @@ static void producesettingentry(menu * menu_obj, uint64_t switchvalue)
|
||||
}
|
||||
if(CTRL_RIGHT(state) || CTRL_LSTICK_RIGHT(state))
|
||||
{
|
||||
g_console.aspect_ratio_index++;
|
||||
if(g_console.aspect_ratio_index < ASPECT_RATIO_END)
|
||||
{
|
||||
g_console.aspect_ratio_index++;
|
||||
video_gl.set_aspect_ratio(NULL, g_console.aspect_ratio_index);
|
||||
set_delay = DELAY_SMALL;
|
||||
}
|
||||
else
|
||||
g_console.aspect_ratio_index = ASPECT_RATIO_END-1;
|
||||
}
|
||||
if(CTRL_START(state))
|
||||
{
|
||||
@ -2079,12 +2081,14 @@ static void ingame_menu(uint32_t menu_id)
|
||||
}
|
||||
if(CTRL_RIGHT(state) || CTRL_LSTICK_RIGHT(state))
|
||||
{
|
||||
g_console.aspect_ratio_index++;
|
||||
if(g_console.aspect_ratio_index < ASPECT_RATIO_END)
|
||||
{
|
||||
g_console.aspect_ratio_index++;
|
||||
video_gl.set_aspect_ratio(NULL, g_console.aspect_ratio_index);
|
||||
set_delay = DELAY_LONG;
|
||||
}
|
||||
else
|
||||
g_console.aspect_ratio_index = ASPECT_RATIO_END-1;
|
||||
}
|
||||
if(CTRL_START(state))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user