mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 22:19:12 +00:00
Big fixes and big memory leak refactor (linux only for now)
This commit is contained in:
@@ -2006,7 +2006,7 @@ CFrontEndUI::CFrontEndUI()
|
||||
|
||||
m->ResetGameState();
|
||||
g_GameState->SetCurrentWorldId(g_ResFactory->TranslateOriginalToNew(g_DefaultWorldTag.id));
|
||||
g_GameState->CurrentWorldState().SetAreaId(0);
|
||||
g_GameState->CurrentWorldState().SetAreaId(1);
|
||||
g_GameState->GameOptions().ResetToDefaults();
|
||||
g_GameState->WriteBackupBuf();
|
||||
|
||||
|
||||
@@ -319,6 +319,8 @@ CMFGameLoader::CMFGameLoader() : CMFGameLoaderBase("CMFGameLoader")
|
||||
}
|
||||
}
|
||||
|
||||
CMFGameLoader::~CMFGameLoader() {}
|
||||
|
||||
static const char* LoadDepPAKs[] =
|
||||
{
|
||||
"TestAnim",
|
||||
|
||||
@@ -83,6 +83,7 @@ class CMFGameLoader : public CMFGameLoaderBase
|
||||
|
||||
public:
|
||||
CMFGameLoader();
|
||||
~CMFGameLoader();
|
||||
EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
|
||||
void Draw() const;
|
||||
};
|
||||
|
||||
@@ -785,6 +785,7 @@ void CMain::Shutdown()
|
||||
CNESShader::Shutdown();
|
||||
CGraphics::ShutdownBoo();
|
||||
ShutdownDiscord();
|
||||
CBooModel::AssertAllFreed();
|
||||
}
|
||||
|
||||
boo::IWindow* CMain::GetMainWindow() const
|
||||
|
||||
Reference in New Issue
Block a user