summaryrefslogtreecommitdiff
path: root/src/m_Do/m_Do_ext.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-04-18 02:23:05 +0300
committerGitHub <noreply@github.com>2025-04-17 16:23:05 -0700
commit0ab8dc25192c04a185321858c89394c74ad484b2 (patch)
tree3f4337dc6a3fe5b8b138e4698e2b426cce2a3203 /src/m_Do/m_Do_ext.cpp
parentf08e88378301a19f227aad4b9fa568b00f1b16fd (diff)
Daswc (#2398)
* swball cleanup * daSwc00_c OK * Revert change in configure - we'll handle rel/dol changes in seperate PR
Diffstat (limited to 'src/m_Do/m_Do_ext.cpp')
-rw-r--r--src/m_Do/m_Do_ext.cpp8
1 files changed, 6 insertions, 2 deletions
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 */