Handle args on Windows in NativeInit() too.

Now it's like everyone else, plus it works again.  Bonus.

Fixes #1134.
This commit is contained in:
Unknown W. Brackets
2013-03-31 18:23:07 -07:00
parent 8cecdbe1dc
commit d8cb2cdffb
3 changed files with 4 additions and 49 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ DWORD TheThread(LPVOID x) {
Host *oldHost = host;
UpdateScreenScale();
NativeInit(0, 0, memstick.c_str(), memstick.c_str(), "1234");
NativeInit(__argc, (const char **)__argv, memstick.c_str(), memstick.c_str(), "1234");
Host *nativeHost = host;
host = oldHost;