Win32 start-from-command-line: Normalize slashes earlier in the process. The actual root cause of the issue from #9335.

This commit is contained in:
Henrik Rydgard committed 2017-02-23 09:31:45 +01:00
1 parent 900539e200
commit 615c357f1d
1 file changed
+3
+3
View File
@@ -423,6 +423,9 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
} else {
if (boot_filename.empty()) {
boot_filename = argv[i];
#ifdef _WIN32
boot_filename = ReplaceAll(boot_filename, "\\", "/");
#endif
skipLogo = true;
std::unique_ptr<FileLoader> fileLoader(ConstructFileLoader(boot_filename));