aboutsummaryrefslogtreecommitdiff
path: root/src/melon_fopen.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-12-11 22:17:49 +0100
committerStapleButter <thetotalworm@gmail.com>2018-12-11 22:17:49 +0100
commitd92c7e79df1eecf5c287cf76011dcb4cd4228ebc (patch)
treee3b7fa9fe0329f3f0307b35345760079b582535c /src/melon_fopen.cpp
parent1817c15cb0d9255da58da1526c765f09ba70756b (diff)
re-blarg. linux doesn't take \ you idiot
Diffstat (limited to 'src/melon_fopen.cpp')
-rw-r--r--src/melon_fopen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/melon_fopen.cpp b/src/melon_fopen.cpp
index 46bc5da..04d3caf 100644
--- a/src/melon_fopen.cpp
+++ b/src/melon_fopen.cpp
@@ -151,7 +151,7 @@ FILE* melon_fopen_local(const char* fileName, const char* permissions)
int len = dirlen + 1 + filelen + 1;
char* tmp = new char[len];
strncpy(&tmp[0], EmuDirectory, dirlen);
- tmp[dirlen] = '\\';
+ tmp[dirlen] = '/';
strncpy(&tmp[dirlen+1], fileName, filelen);
tmp[dirlen+1+filelen] = '\0';