mirror of https://github.com/AxioDL/metaforce.git
Windows fixes
This commit is contained in:
parent
13e6bf0274
commit
37ff06314e
|
@ -1 +1 @@
|
|||
Subproject commit d5ec7bcc1ed5dbb5d25b1949cb4a94390277ef6e
|
||||
Subproject commit 6ff4229f9b3ce7d303f78627091ab979946718c1
|
|
@ -317,7 +317,9 @@ int WINAPIV main(Platform::Array<Platform::String^>^ params)
|
|||
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int)
|
||||
{
|
||||
int argc = 0;
|
||||
const boo::SystemChar** argv = (const wchar_t**)(CommandLineToArgvW(lpCmdLine, &argc));
|
||||
const boo::SystemChar** argv;
|
||||
if (lpCmdLine[0])
|
||||
argv = (const wchar_t**)(CommandLineToArgvW(lpCmdLine, &argc));
|
||||
static boo::SystemChar selfPath[1024];
|
||||
GetModuleFileNameW(nullptr, selfPath, 1024);
|
||||
static const boo::SystemChar* booArgv[32] = {};
|
||||
|
|
Loading…
Reference in New Issue