Add menu_driver to retroarch.cfg

This commit is contained in:
twinaphex 2014-05-27 01:13:43 +02:00
parent c55693855b
commit 9665fcc663
2 changed files with 7 additions and 0 deletions

View File

@ -506,6 +506,11 @@
# to work better.
# input_grab_mouse_toggle = f11
#### Menu
# Menu driver to use. "rgui", "lakka", etc.
# menu_driver = "rgui"
#### Camera
# Override the default camera device the camera driver uses. This is driver dependant.

View File

@ -968,6 +968,7 @@ bool config_load_file(const char *path, bool set_defaults)
CONFIG_GET_STRING(image.driver, "image_driver");
CONFIG_GET_STRING(video.driver, "video_driver");
CONFIG_GET_STRING(menu.driver, "menu_driver");
CONFIG_GET_STRING(video.gl_context, "video_gl_context");
CONFIG_GET_STRING(audio.driver, "audio_driver");
CONFIG_GET_PATH(audio.dsp_plugin, "audio_dsp_plugin");
@ -1353,6 +1354,7 @@ bool config_save_file(const char *path)
config_set_int(conf, "video_fullscreen_x", g_settings.video.fullscreen_x);
config_set_int(conf, "video_fullscreen_y", g_settings.video.fullscreen_y);
config_set_string(conf,"video_driver", g_settings.video.driver);
config_set_string(conf,"menu_driver", g_settings.menu.driver);
config_set_string(conf,"image_driver", g_settings.image.driver);
config_set_bool(conf, "video_vsync", g_settings.video.vsync);
config_set_bool(conf, "video_hard_sync", g_settings.video.hard_sync);