use regular slash instead of backslash in config file name. fixes #413

This commit is contained in:
Arisotura 2019-06-01 02:54:38 +02:00
parent 06e08b053f
commit 27d21e06df
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}