diff --git a/menu/menu_entries_cbs_ok.c b/menu/menu_entries_cbs_ok.c index 43e54d660b..7f0bd7a81f 100644 --- a/menu/menu_entries_cbs_ok.c +++ b/menu/menu_entries_cbs_ok.c @@ -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; }