mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
re-blarg. linux doesn't take \ you idiot
This commit is contained in:
@ -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';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user