From 65f1cae46b7943c343d4e708539b482037002d8f Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Sat, 6 Jul 2024 14:27:55 -0400 Subject: [PATCH] J fix --- src/JSystem/JKernel/JKRExpHeap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/JSystem/JKernel/JKRExpHeap.cpp b/src/JSystem/JKernel/JKRExpHeap.cpp index 89b2280c0..99d74f18d 100644 --- a/src/JSystem/JKernel/JKRExpHeap.cpp +++ b/src/JSystem/JKernel/JKRExpHeap.cpp @@ -955,8 +955,8 @@ static void dummy2() { /* 802B30A4-802B31D4 .text state_register__10JKRExpHeapCFPQ27JKRHeap6TStateUl */ void JKRExpHeap::state_register(TState* p, u32 param_1) const { - JUT_ASSERT(2423, p != NULL); - JUT_ASSERT(2424, p->getHeap() == this); + JUT_ASSERT(VERSION_SELECT(2420, 2423, 2423), p != NULL); + JUT_ASSERT(VERSION_SELECT(2421, 2424, 2424), p->getHeap() == this); p->mId = param_1; if (param_1 <= 0xff) { p->mUsedSize = getUsedSize(param_1); @@ -981,7 +981,7 @@ void JKRExpHeap::state_register(TState* p, u32 param_1) const { /* 802B31D4-802B327C .text state_compare__10JKRExpHeapCFRCQ27JKRHeap6TStateRCQ27JKRHeap6TState */ bool JKRExpHeap::state_compare(const JKRHeap::TState& r1, const JKRHeap::TState& r2) const { - JUT_ASSERT(2471, r1.getHeap() == r2.getHeap()); + JUT_ASSERT(VERSION_SELECT(2468, 2471, 2471), r1.getHeap() == r2.getHeap()); bool result = true; if (r1.mCheckCode != r2.mCheckCode) { result = false;