mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
(Salamander) Some spurious code where it tries to use 'len'
instead of 's'
This commit is contained in:
parent
c7e0163450
commit
7f8a2bef79
@ -128,7 +128,7 @@ static void salamander_init(char *s, size_t len)
|
||||
if (!config_file_exists || !strcmp(s, ""))
|
||||
find_and_set_first_file(s, len, EXT_EXECUTABLES);
|
||||
else
|
||||
RARCH_LOG("Start [%s] found in retroarch.cfg.\n", len);
|
||||
RARCH_LOG("Start [%s] found in retroarch.cfg.\n", s);
|
||||
|
||||
if (!config_file_exists)
|
||||
{
|
||||
@ -136,7 +136,7 @@ static void salamander_init(char *s, size_t len)
|
||||
|
||||
if (conf)
|
||||
{
|
||||
config_set_string(conf, "libretro_path", len);
|
||||
config_set_string(conf, "libretro_path", s);
|
||||
config_file_write(conf, g_defaults.config_path);
|
||||
config_file_free(conf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user