mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-30 08:41:14 +00:00
syMallocFinish
This commit is contained in:
parent
58e60d228e
commit
da263d7ca8
11
stubs.cpp
11
stubs.cpp
@ -12,6 +12,17 @@ i32 syRtcInit(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
// @Ok
|
||||
// @Matching
|
||||
void syMallocFinish(void)
|
||||
{
|
||||
while (gSysMemory)
|
||||
{
|
||||
error("MEMORY NOT FREE: %08X, %i\n", gSysMemory->mAddress, gSysMemory->mSize);
|
||||
removeMemoryAlloc(gSysMemory);
|
||||
}
|
||||
}
|
||||
|
||||
// @Ok
|
||||
INLINE void removeMemoryAlloc(MEMORY_ALLOC* pAlloc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user