mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(PS3) Move PS3 ifdef
This commit is contained in:
parent
35c2d74d1a
commit
10b0423da4
@ -249,29 +249,11 @@ static int action_ok_video_filter(const char *path,
|
||||
if (!menu)
|
||||
return -1;
|
||||
|
||||
#ifdef __CELLOS_LV2__
|
||||
if (g_extern.console.screen.resolutions.list[
|
||||
g_extern.console.screen.resolutions.current.idx] ==
|
||||
CELL_VIDEO_OUT_RESOLUTION_576)
|
||||
{
|
||||
if (g_extern.console.screen.pal_enable)
|
||||
g_extern.console.screen.pal60_enable = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_extern.console.screen.pal_enable = false;
|
||||
g_extern.console.screen.pal60_enable = false;
|
||||
}
|
||||
|
||||
rarch_main_command(RARCH_CMD_REINIT);
|
||||
return 0;
|
||||
#else
|
||||
return menu_list_push_stack_refresh(
|
||||
menu->menu_list,
|
||||
g_settings.video.filter_dir,
|
||||
"deferred_video_filter",
|
||||
0, idx);
|
||||
#endif
|
||||
}
|
||||
|
||||
static int action_ok_core_updater_list(const char *path,
|
||||
@ -1084,6 +1066,22 @@ static int action_ok_help(const char *path,
|
||||
static int action_ok_video_resolution(const char *path,
|
||||
const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
#ifdef __CELLOS_LV2__
|
||||
if (g_extern.console.screen.resolutions.list[
|
||||
g_extern.console.screen.resolutions.current.idx] ==
|
||||
CELL_VIDEO_OUT_RESOLUTION_576)
|
||||
{
|
||||
if (g_extern.console.screen.pal_enable)
|
||||
g_extern.console.screen.pal60_enable = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_extern.console.screen.pal_enable = false;
|
||||
g_extern.console.screen.pal60_enable = false;
|
||||
}
|
||||
|
||||
rarch_main_command(RARCH_CMD_REINIT);
|
||||
#else
|
||||
if (driver.video_data && driver.video_poke &&
|
||||
driver.video_poke->get_video_output_size)
|
||||
{
|
||||
@ -1096,6 +1094,8 @@ static int action_ok_video_resolution(const char *path,
|
||||
driver.video_poke->set_video_mode(driver.video_data,
|
||||
width, height, true);
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user