some more GTA_VERSIONs and CGame tidy-up (not much actual memory moving yet)

This commit is contained in:
aap
2020-12-01 17:42:18 +01:00
parent b8bc54640d
commit 83bbb631d1
8 changed files with 209 additions and 12 deletions

View File

@ -187,7 +187,7 @@ CMemoryHeap::Malloc(uint32 size)
void *mem = Malloc(size);
if (removeCollision) {
CTimer::Stop();
// different on PS2
// TODO: different on PS2
CFileLoader::LoadCollisionFromDatFile(CCollision::ms_collisionInMemory);
removeCollision = false;
CTimer::Update();

View File

@ -198,6 +198,7 @@ public:
void TidyHeap(void);
uint32 GetMemoryUsed(int32 id);
uint32 GetBlocksUsed(int32 id);
int32 GetLargestFreeBlock(void) { return m_freeList.m_last.m_prev->m_size; }
void ParseHeap(void);