mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Full fullscreen toggle and DSP reinit.
Softfilters broken due to menu reinit. The whole menu stack gets flushed out causing infinite loop.
This commit is contained in:
parent
61ec27fd5c
commit
ec92abba9f
@ -2194,7 +2194,6 @@ static int menu_common_iterate(unsigned action)
|
|||||||
else if (menu_type == RGUI_SETTINGS_VIDEO_SOFTFILTER)
|
else if (menu_type == RGUI_SETTINGS_VIDEO_SOFTFILTER)
|
||||||
{
|
{
|
||||||
fill_pathname_join(g_settings.video.filter_path, dir, path, sizeof(g_settings.video.filter_path));
|
fill_pathname_join(g_settings.video.filter_path, dir, path, sizeof(g_settings.video.filter_path));
|
||||||
driver.menu_data_own = true;
|
|
||||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||||
menu_flush_stack_type(RGUI_SETTINGS_VIDEO_OPTIONS);
|
menu_flush_stack_type(RGUI_SETTINGS_VIDEO_OPTIONS);
|
||||||
}
|
}
|
||||||
@ -2203,8 +2202,8 @@ static int menu_common_iterate(unsigned action)
|
|||||||
#ifdef HAVE_DYLIB
|
#ifdef HAVE_DYLIB
|
||||||
fill_pathname_join(g_settings.audio.dsp_plugin, dir, path, sizeof(g_settings.audio.dsp_plugin));
|
fill_pathname_join(g_settings.audio.dsp_plugin, dir, path, sizeof(g_settings.audio.dsp_plugin));
|
||||||
#endif
|
#endif
|
||||||
driver.menu_data_own = true;
|
rarch_deinit_dsp_filter();
|
||||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
rarch_init_dsp_filter();
|
||||||
menu_flush_stack_type(RGUI_SETTINGS_AUDIO_OPTIONS);
|
menu_flush_stack_type(RGUI_SETTINGS_AUDIO_OPTIONS);
|
||||||
}
|
}
|
||||||
else if (menu_type == RGUI_SAVESTATE_DIR_PATH)
|
else if (menu_type == RGUI_SAVESTATE_DIR_PATH)
|
||||||
@ -4023,7 +4022,10 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
|
|||||||
|
|
||||||
case RGUI_SETTINGS_TOGGLE_FULLSCREEN:
|
case RGUI_SETTINGS_TOGGLE_FULLSCREEN:
|
||||||
if (action == RGUI_ACTION_OK)
|
if (action == RGUI_ACTION_OK)
|
||||||
|
{
|
||||||
|
g_settings.video.fullscreen = !g_settings.video.fullscreen;
|
||||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if defined(GEKKO)
|
#if defined(GEKKO)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user