This commit is contained in:
twinaphex 2016-01-27 19:58:11 +01:00
parent 4e8ad770e6
commit 1d47300f0f

View File

@ -691,7 +691,7 @@ static bool event_save_core_config(void)
/* In case of collision, find an alternative name. */
for (i = 0; i < 16; i++)
{
char tmp[64] = {0};
char tmp[64];
fill_pathname_base(config_name, settings->libretro,
sizeof(config_name));
@ -699,8 +699,6 @@ static bool event_save_core_config(void)
fill_pathname_join(config_path, config_dir, config_name,
sizeof(config_path));
*tmp = '\0';
if (i)
snprintf(tmp, sizeof(tmp), "-%u.cfg", i);
else