mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
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:
1 parent
533e219862
commit
c7bdeb3084
9 files changed
+77
-57
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user