mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-13 21:26:09 +00:00
CModel destructor & frame list fixes
This commit is contained in:
@@ -133,6 +133,11 @@ CModel::CModel(std::unique_ptr<u8[]> in, u32 dataLen, IObjectStore* store)
|
||||
// DCFlushRange(x0_data, dataLen);
|
||||
}
|
||||
|
||||
CModel::~CModel() {
|
||||
RemoveFromList();
|
||||
sTotalMemory -= x4_dataLen;
|
||||
}
|
||||
|
||||
void CModel::UpdateLastFrame() { x38_lastFrame = CGraphics::GetFrameCounter(); }
|
||||
|
||||
void CModel::MoveToThisFrameList() {
|
||||
|
||||
Reference in New Issue
Block a user