From 0ab8dc25192c04a185321858c89394c74ad484b2 Mon Sep 17 00:00:00 2001 From: hatal175 Date: Fri, 18 Apr 2025 02:23:05 +0300 Subject: Daswc (#2398) * swball cleanup * daSwc00_c OK * Revert change in configure - we'll handle rel/dol changes in seperate PR --- src/m_Do/m_Do_ext.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/m_Do/m_Do_ext.cpp') diff --git a/src/m_Do/m_Do_ext.cpp b/src/m_Do/m_Do_ext.cpp index 2dedd8210b..f430c1baf0 100644 --- a/src/m_Do/m_Do_ext.cpp +++ b/src/m_Do/m_Do_ext.cpp @@ -69,8 +69,12 @@ static void mDoExt_setJ3DData(Mtx mtx, const J3DTransformInfo* transformInfo, u1 } static BOOL isCurrentSolidHeap() { - /* Nonmatching */ - return FALSE; + JKRHeap* heap = JKRGetCurrentHeap(); + if (heap->getHeapType() != 'SLID') { + OS_REPORT_ERROR("ソリッドヒープちゃうがな!\n"); + return FALSE; + } + return TRUE; } /* 8000D320-8000D428 007C60 0108+00 6/6 0/0 0/0 .text initPlay__14mDoExt_baseAnmFsifss */ -- cgit v1.2.3