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

Various bug fixes

This commit is contained in:
Jack Andersen
2019-03-08 22:58:27 -10:00
parent f40bf707f6
commit 2f963b9ce3
28 changed files with 283 additions and 120 deletions

View File

@@ -759,6 +759,10 @@ bool CMain::Proc() {
// Warmup cycle overrides update
if (m_warmupTags.size())
return false;
if (!m_loadedPersistentResources) {
x128_globalObjects.m_gameResFactory->LoadPersistentResources(*g_SimplePool);
m_loadedPersistentResources = true;
}
m_console->proc();
if (!m_console->isOpen()) {
@@ -832,6 +836,7 @@ void CMain::ShutdownSubsystems() {
void CMain::Shutdown() {
m_console->unregisterCommand("Give");
x128_globalObjects.m_gameResFactory->UnloadPersistentResources();
x164_archSupport.reset();
ShutdownSubsystems();
CParticleSwooshShaders::Shutdown();