mirror of https://github.com/AxioDL/metaforce.git
Windows fixes
This commit is contained in:
parent
2c151a0f3b
commit
65fd883a99
|
@ -236,7 +236,9 @@ int WINAPIV main(Platform::Array<Platform::String^>^ params)
|
||||||
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int)
|
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int)
|
||||||
{
|
{
|
||||||
int argc = 0;
|
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];
|
static boo::SystemChar selfPath[1024];
|
||||||
GetModuleFileNameW(nullptr, selfPath, 1024);
|
GetModuleFileNameW(nullptr, selfPath, 1024);
|
||||||
static const boo::SystemChar* booArgv[32] = {};
|
static const boo::SystemChar* booArgv[32] = {};
|
||||||
|
|
2
amuse
2
amuse
|
@ -1 +1 @@
|
||||||
Subproject commit 77c7daa67c2077dcfd14b34aea3fa613c146d1ca
|
Subproject commit d7011f0e77c2cce57d0195f07e325e7415794676
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit 48996c1548344834a7c3c0713c8b8c7f337fa73b
|
Subproject commit 3cca5be30bb403d5a9c7f4c1a20be1b388d67669
|
Loading…
Reference in New Issue