2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

Fix CMemoryCardSys shutdown crash

This commit is contained in:
2017-01-22 09:36:25 -08:00
parent eb955c53ec
commit 12c6163e32
9 changed files with 88 additions and 20 deletions

View File

@@ -66,6 +66,7 @@ void CGameArchitectureSupport::UpdateTicks()
void CGameArchitectureSupport::Update()
{
g_GameState->GetWorldTransitionManager()->TouchModels();
x30_inputGenerator.Update(1 / 60.f, x4_archQueue);
x4_archQueue.Push(MakeMsg::CreateFrameBegin(EArchMsgTarget::Game, x78_));
x58_ioWinManager.PumpMessages(x4_archQueue);
}
@@ -282,6 +283,7 @@ void CMain::ShutdownSubsystems()
CDecalManager::Shutdown();
CElementGen::Shutdown();
CAnimData::FreeCache();
CMemoryCardSys::Shutdown();
}
void CMain::Shutdown()