mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
(PS3) Implement S_RETURN_TO_LAUNCHER
This commit is contained in:
parent
4bb5066691
commit
4f662ff0e2
@ -60,6 +60,11 @@ void rarch_settings_change(unsigned setting)
|
||||
g_console.menu_enable = false;
|
||||
g_console.mode_switch = MODE_EMULATION;
|
||||
break;
|
||||
case S_RETURN_TO_LAUNCHER:
|
||||
g_console.return_to_launcher = true;
|
||||
g_console.menu_enable = false;
|
||||
g_console.mode_switch = MODE_EXIT;
|
||||
break;
|
||||
case S_RETURN_TO_MENU:
|
||||
g_console.menu_enable = false;
|
||||
g_console.ingame_menu_item = 0;
|
||||
|
@ -26,6 +26,7 @@ enum
|
||||
S_OVERSCAN_INCREMENT,
|
||||
S_RETURN_TO_DASHBOARD,
|
||||
S_RETURN_TO_GAME,
|
||||
S_RETURN_TO_LAUNCHER,
|
||||
S_RETURN_TO_MENU,
|
||||
S_ROTATION_DECREMENT,
|
||||
S_ROTATION_INCREMENT,
|
||||
|
17
ps3/menu.c
17
ps3/menu.c
@ -937,9 +937,7 @@ static void select_file(uint32_t menu_id)
|
||||
{
|
||||
strlcpy(g_console.launch_app_on_exit, path, sizeof(g_console.launch_app_on_exit));
|
||||
set_libretro_core_as_launch = false;
|
||||
g_console.return_to_launcher = true;
|
||||
g_console.menu_enable = false;
|
||||
g_console.mode_switch = MODE_EXIT;
|
||||
rarch_settings_change(S_RETURN_TO_LAUNCHER);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -2173,8 +2171,7 @@ static void ingame_menu(uint32_t menu_id)
|
||||
{
|
||||
if((g_settings.video.fbo_scale_x > MIN_SCALING_FACTOR))
|
||||
{
|
||||
g_settings.video.fbo_scale_x -= 1.0f;
|
||||
g_settings.video.fbo_scale_y -= 1.0f;
|
||||
rarch_settings_change(S_SCALE_FACTOR_DECREMENT);
|
||||
apply_scaling(FBO_REINIT);
|
||||
set_delay = DELAY_MEDIUM;
|
||||
}
|
||||
@ -2186,8 +2183,7 @@ static void ingame_menu(uint32_t menu_id)
|
||||
{
|
||||
if((g_settings.video.fbo_scale_x < MAX_SCALING_FACTOR))
|
||||
{
|
||||
g_settings.video.fbo_scale_x += 1.0f;
|
||||
g_settings.video.fbo_scale_y += 1.0f;
|
||||
rarch_settings_change(S_SCALE_FACTOR_INCREMENT);
|
||||
apply_scaling(FBO_REINIT);
|
||||
set_delay = DELAY_MEDIUM;
|
||||
}
|
||||
@ -2195,8 +2191,7 @@ static void ingame_menu(uint32_t menu_id)
|
||||
}
|
||||
if(CTRL_START(state))
|
||||
{
|
||||
g_settings.video.fbo_scale_x = 2.0f;
|
||||
g_settings.video.fbo_scale_y = 2.0f;
|
||||
rarch_settings_default(S_DEF_SCALE_FACTOR);
|
||||
apply_scaling(FBO_REINIT);
|
||||
}
|
||||
strlcpy(comment, "Press LEFT or RIGHT to change the [Scaling] settings.\nPress START to reset back to default values.", sizeof(comment));
|
||||
@ -2410,9 +2405,7 @@ static void ingame_menu(uint32_t menu_id)
|
||||
strlcpy(g_console.launch_app_on_exit, MULTIMAN_EXECUTABLE,
|
||||
sizeof(g_console.launch_app_on_exit));
|
||||
|
||||
g_console.return_to_launcher = true;
|
||||
g_console.menu_enable = false;
|
||||
g_console.mode_switch = MODE_EXIT;
|
||||
rarch_settings_change(S_RETURN_TO_DASHBOARD);
|
||||
}
|
||||
strlcpy(comment, "Press 'CROSS' to quit the emulator and return to multiMAN.", sizeof(comment));
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user