re-blarg. linux doesn't take \ you idiot
This commit is contained in:
parent
1817c15cb0
commit
d92c7e79df
|
@ -151,7 +151,7 @@ FILE* melon_fopen_local(const char* fileName, const char* permissions)
|
||||||
int len = dirlen + 1 + filelen + 1;
|
int len = dirlen + 1 + filelen + 1;
|
||||||
char* tmp = new char[len];
|
char* tmp = new char[len];
|
||||||
strncpy(&tmp[0], EmuDirectory, dirlen);
|
strncpy(&tmp[0], EmuDirectory, dirlen);
|
||||||
tmp[dirlen] = '\\';
|
tmp[dirlen] = '/';
|
||||||
strncpy(&tmp[dirlen+1], fileName, filelen);
|
strncpy(&tmp[dirlen+1], fileName, filelen);
|
||||||
tmp[dirlen+1+filelen] = '\0';
|
tmp[dirlen+1+filelen] = '\0';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue