mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
use regular slash instead of backslash in config file name. fixes #413
This commit is contained in:
@ -167,7 +167,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
|
||||
int len = emudirlen + 1 + pathlen + 1;
|
||||
emudirpath = new char[len];
|
||||
strncpy(&emudirpath[0], EmuDirectory, emudirlen);
|
||||
emudirpath[emudirlen] = '\\';
|
||||
emudirpath[emudirlen] = '/';
|
||||
strncpy(&emudirpath[emudirlen+1], path, pathlen);
|
||||
emudirpath[emudirlen+1+pathlen] = '\0';
|
||||
}
|
||||
|
Reference in New Issue
Block a user