mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 15:27:41 +00:00
More ifdeffing out of cheat settings if HAVE_XML is not defined
This commit is contained in:
parent
a1eecbfcc5
commit
50ce3fc6c9
@ -47,7 +47,9 @@ void rarch_config_load(const char * conf_name, const char * libretro_dir_path, c
|
||||
#endif
|
||||
|
||||
CONFIG_GET_STRING(system_directory, "system_directory");
|
||||
#ifdef HAVE_XML
|
||||
CONFIG_GET_STRING(cheat_database, "cheat_database");
|
||||
#endif
|
||||
CONFIG_GET_BOOL(rewind_enable, "rewind_enable");
|
||||
CONFIG_GET_STRING(video.cg_shader_path, "video_cg_shader");
|
||||
#ifdef HAVE_FBO
|
||||
|
@ -316,7 +316,9 @@ void rarch_settings_set_default (const input_driver_t *input)
|
||||
{
|
||||
// g_settings
|
||||
g_settings.rewind_enable = false;
|
||||
#ifdef HAVE_XML
|
||||
strlcpy(g_settings.cheat_database, default_paths.port_dir, sizeof(g_settings.cheat_database));
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
strlcpy(g_settings.video.cg_shader_path, default_paths.shader_file, sizeof(g_settings.video.cg_shader_path));
|
||||
|
Loading…
Reference in New Issue
Block a user