ksys/sys: Fix inaccuracy

This commit is contained in:
Léo Lam
2020-09-24 13:24:11 +02:00
parent 8faa579a69
commit 7a5f9dae9b
+5 -7
View File
@@ -307,13 +307,11 @@ void OverlayArenaSystem::createTeraWorkHeap() {
void OverlayArenaSystem::createPlacementTreeHeap() {
res::stubbedLogFunction();
if (mPlacementTreeHeap)
return;
mPlacementTreeHeap =
sead::ExpHeap::tryCreate(0x700000, "PlacementTree", mFixedHeap, sizeof(void*),
sead::Heap::cHeapDirection_Forward, false);
if (!mPlacementTreeHeap) {
mPlacementTreeHeap =
sead::ExpHeap::tryCreate(0x700000, "PlacementTree", mFixedHeap, sizeof(void*),
sead::Heap::cHeapDirection_Forward, false);
}
res::stubbedLogFunction();
}