mirror of https://github.com/mgba-emu/mgba.git
VFS: Use / as the path separator on Windows
This commit is contained in:
parent
ee5c9c8a91
commit
d53e479fed
|
@ -11,7 +11,7 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define PATH_SEP "\\"
|
#define PATH_SEP "/" // Windows can handle slashes, and backslashes confuse some libraries
|
||||||
#else
|
#else
|
||||||
#define PATH_SEP "/"
|
#define PATH_SEP "/"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue