diff options
author | Autechre | 2020-10-29 03:29:19 +0100 |
---|---|---|
committer | GitHub | 2020-10-29 03:29:19 +0100 |
commit | c54a3bf21c3020f4d212587af4c633cbdf530063 (patch) | |
tree | 6952ceefcf19deb574f7fbd204f05f85b882dc51 /gba_memory.c | |
parent | 6e5d4d591eba9468a2c170a730638f6ee4715fda (diff) | |
parent | 56372b0635f93fc5f755150c58baa93ce2db50c2 (diff) | |
download | picogpsp-c54a3bf21c3020f4d212587af4c633cbdf530063.tar.gz picogpsp-c54a3bf21c3020f4d212587af4c633cbdf530063.tar.bz2 picogpsp-c54a3bf21c3020f4d212587af4c633cbdf530063.zip |
Merge pull request #84 from negativeExponent/path_separator
Use correct path separator
Diffstat (limited to 'gba_memory.c')
-rw-r--r-- | gba_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gba_memory.c b/gba_memory.c index ab45887..02b3e8b 100644 --- a/gba_memory.c +++ b/gba_memory.c @@ -2428,7 +2428,7 @@ u32 load_gamepak(const struct retro_game_info* info, const char *name) else 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, '.'); if (p) strcpy(p, ".sav"); |