mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #122 from encounter/visigen-ppid
visigen: Fix parent PID from argv
This commit is contained in:
commit
6631bd1ead
|
@ -439,9 +439,9 @@ void VISIRenderer::Run(FPercent updatePercent) {
|
|||
ProcessType parentPid = 0;
|
||||
if (m_argc > 4)
|
||||
#ifdef _WIN32
|
||||
parentPid = ProcessType(wcstoull(m_argv[4], nullptr, 16));
|
||||
parentPid = ProcessType(wcstoull(m_argv[4], nullptr, 10));
|
||||
#else
|
||||
parentPid = ProcessType(strtoull(m_argv[4], nullptr, 16));
|
||||
parentPid = ProcessType(strtoull(m_argv[4], nullptr, 10));
|
||||
#endif
|
||||
|
||||
uint32_t layer2LightCount = 0;
|
||||
|
|
Loading…
Reference in New Issue