Merge pull request #84 from negativeExponent/path_separator
Use correct path separator
This commit is contained in:
commit
c54a3bf21c
|
@ -2428,7 +2428,7 @@ u32 load_gamepak(const struct retro_game_info* info, const char *name)
|
||||||
else
|
else
|
||||||
p = gamepak_filename;
|
p = gamepak_filename;
|
||||||
|
|
||||||
snprintf(backup_filename, sizeof(backup_filename), "%s/%s", save_path, p);
|
snprintf(backup_filename, sizeof(backup_filename), "%s%c%s", save_path, PATH_SEPARATOR_CHAR, p);
|
||||||
p = strrchr(backup_filename, '.');
|
p = strrchr(backup_filename, '.');
|
||||||
if (p)
|
if (p)
|
||||||
strcpy(p, ".sav");
|
strcpy(p, ".sav");
|
||||||
|
|
Loading…
Reference in New Issue