summaryrefslogtreecommitdiff
path: root/src/m_Do
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-09-17 10:05:55 -0400
committerGitHub <noreply@github.com>2026-09-17 10:05:55 -0400
commitf38b962a5844502889ec00a98d0c9ed2a1151695 (patch)
tree26f19c014075891d18af15af95b2764feb63beaf /src/m_Do
parent78f95573067988ad5812c040d8a6a77a78eb0dea (diff)
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
Diffstat (limited to 'src/m_Do')
-rw-r--r--src/m_Do/m_Do_main.cpp4
1 files changed, 2 insertions, 2 deletions
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;