summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornegativeExponent2020-10-28 19:39:41 +0800
committernegativeExponent2020-10-28 19:39:41 +0800
commit56372b0635f93fc5f755150c58baa93ce2db50c2 (patch)
tree6952ceefcf19deb574f7fbd204f05f85b882dc51
parent6e5d4d591eba9468a2c170a730638f6ee4715fda (diff)
downloadpicogpsp-56372b0635f93fc5f755150c58baa93ce2db50c2.tar.gz
picogpsp-56372b0635f93fc5f755150c58baa93ce2db50c2.tar.bz2
picogpsp-56372b0635f93fc5f755150c58baa93ce2db50c2.zip
Use correct path separator
-rw-r--r--gba_memory.c2
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");