mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +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, ""))
|
if (!config_file_exists || !strcmp(s, ""))
|
||||||
find_and_set_first_file(s, len, EXT_EXECUTABLES);
|
find_and_set_first_file(s, len, EXT_EXECUTABLES);
|
||||||
else
|
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)
|
if (!config_file_exists)
|
||||||
{
|
{
|
||||||
@ -136,7 +136,7 @@ static void salamander_init(char *s, size_t len)
|
|||||||
|
|
||||||
if (conf)
|
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_write(conf, g_defaults.config_path);
|
||||||
config_file_free(conf);
|
config_file_free(conf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user