2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 13:25:53 +00:00

Fix VISIGen ppid from argv

This commit is contained in:
Luke Street 2019-11-20 00:50:56 -05:00
parent e620c4e835
commit e942863a00

View File

@ -439,9 +439,9 @@ void VISIRenderer::Run(FPercent updatePercent) {
ProcessType parentPid = 0; ProcessType parentPid = 0;
if (m_argc > 4) if (m_argc > 4)
#ifdef _WIN32 #ifdef _WIN32
parentPid = ProcessType(wcstoull(m_argv[4], nullptr, 16)); parentPid = ProcessType(wcstoull(m_argv[4], nullptr, 10));
#else #else
parentPid = ProcessType(strtoull(m_argv[4], nullptr, 16)); parentPid = ProcessType(strtoull(m_argv[4], nullptr, 10));
#endif #endif
uint32_t layer2LightCount = 0; uint32_t layer2LightCount = 0;