(RARCH_CONSOLE) Change config_get_string to config_get_path

This commit is contained in:
twinaphex 2013-01-13 16:31:05 +01:00
parent 88a45c3c0f
commit 4f53bd4ca0
1 changed files with 2 additions and 4 deletions

View File

@ -480,10 +480,8 @@ bool config_load_file(const char *path)
bool state_dir_enable = false;
int zip_extract_mode = 0;
char *has_set_path = NULL;
if (config_get_string(conf, "default_rom_startup_dir", &has_set_path))
strlcpy(g_extern.console.main_wrap.default_rom_startup_dir, has_set_path, sizeof(g_extern.console.main_wrap.default_rom_startup_dir));
if (config_get_path(conf, "default_rom_startup_dir", tmp_str, sizeof(tmp_str)))
strlcpy(g_extern.console.main_wrap.default_rom_startup_dir, tmp_str, sizeof(g_extern.console.main_wrap.default_rom_startup_dir));
if (config_get_bool(conf, "info_msg_enable", &msg_enable))
{