From f38b962a5844502889ec00a98d0c9ed2a1151695 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 17 Sep 2026 10:05:55 -0400 Subject: demo d_file_error OK, fmap/fmap2 work, misc (#1208) * d_file_error OK, use J2DPane inlines everywhere * d_menu_fmap demo work * fmap and fmap2 work * fix demo regression with ternary fakematch * inline cleanup, f_pc_profile OK for demo * fix min/max bss order * lstair almost for demo --- src/m_Do/m_Do_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/m_Do') diff --git a/src/m_Do/m_Do_main.cpp b/src/m_Do/m_Do_main.cpp index 76ad53a2..cc411e90 100644 --- a/src/m_Do/m_Do_main.cpp +++ b/src/m_Do/m_Do_main.cpp @@ -106,7 +106,7 @@ void CheckHeap(JUTGamePad* i_pad) { static int countUsed(JKRExpHeap* heap) { OSDisableScheduler(); int counter = 0; - JKRExpHeap::CMemBlock* used_blocks_head = heap->getHeadUsedList(); + JKRExpHeap::CMemBlock* used_blocks_head = heap->getUsedFirst(); while (used_blocks_head) { used_blocks_head = used_blocks_head->getNextBlock(); @@ -124,7 +124,7 @@ s32 HeapCheck::getUsedCount() const { /* 800058D4-80005B28 .text heapDisplay__9HeapCheckFv */ void HeapCheck::heapDisplay() { - s32 heap_size = mHeap->getSize(); + s32 heap_size = mHeap->getHeapSize(); s32 used_count = field_0x14 * mTargetHeapSize; field_0x10 = used_count; -- cgit v1.2.3