use regular slash instead of backslash in config file name. fixes #413
This commit is contained in:
parent
06e08b053f
commit
27d21e06df
|
@ -167,7 +167,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
|
||||||
int len = emudirlen + 1 + pathlen + 1;
|
int len = emudirlen + 1 + pathlen + 1;
|
||||||
emudirpath = new char[len];
|
emudirpath = new char[len];
|
||||||
strncpy(&emudirpath[0], EmuDirectory, emudirlen);
|
strncpy(&emudirpath[0], EmuDirectory, emudirlen);
|
||||||
emudirpath[emudirlen] = '\\';
|
emudirpath[emudirlen] = '/';
|
||||||
strncpy(&emudirpath[emudirlen+1], path, pathlen);
|
strncpy(&emudirpath[emudirlen+1], path, pathlen);
|
||||||
emudirpath[emudirlen+1+pathlen] = '\0';
|
emudirpath[emudirlen+1+pathlen] = '\0';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue