Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.

On Win32, call InitSysDirectories before the emuthread starts just to be safe.
This commit is contained in:
The Dax committed 2013-10-15 03:41:10 -04:00
1 parent 533e219862
commit c7bdeb3084
9 files changed
+77 -57

No files matched your search

+1 -4
View File
@@ -86,15 +86,12 @@ unsigned int WINAPI TheThread(void *)
setCurrentThreadName("EmuThread");
std::string memstick, flash0;
GetSysDirectories(memstick, flash0);
// Native overwrites host. Can't allow that.
Host *oldHost = host;
UpdateScreenScale();
NativeInit(__argc, (const char **)__argv, memstick.c_str(), memstick.c_str(), "1234");
NativeInit(__argc, (const char **)__argv, "1234", "1234", "1234");
Host *nativeHost = host;
host = oldHost;