Fix version defines

This commit is contained in:
LagoLunatic
2025-05-19 20:17:13 -04:00
parent 6610bf1d1c
commit 99c78680de
85 changed files with 491 additions and 487 deletions
+4 -4
View File
@@ -73,7 +73,7 @@ cPhs_State dGameover_c::_create() {
if (rt == cPhs_COMPLEATE_e) {
dComIfGs_addDeathCount();
dRes_info_c* resInfo = dComIfG_getObjectResInfo("Gover");
JUT_ASSERT(VERSION_SELECT(0x9c, 0xa0, 0xa0), resInfo != NULL);
JUT_ASSERT(VERSION_SELECT(0x9c, 0x9c, 0xa0, 0xa0), resInfo != NULL);
mpHeap = dComIfGp_getExpHeap2D();
dComIfGp_setHeapLockFlag(4);
@@ -83,12 +83,12 @@ cPhs_State dGameover_c::_create() {
dgo_scrn_c->setScreen("gameover.blo", resInfo->getArchive());
dMs_c = new dMenu_save_c();
JUT_ASSERT(VERSION_SELECT(0xa7, 0xb6, 0xb6), dMs_c != NULL);
JUT_ASSERT(VERSION_SELECT(0xa7, 0xa7, 0xb6, 0xb6), dMs_c != NULL);
dMs_c->setUseType(2);
dMs_c->_create();
dgo_capture_c = new dDlst_Gameover_CAPTURE_c();
JUT_ASSERT(VERSION_SELECT(0xac, 0xbb, 0xbb), dgo_capture_c != NULL);
JUT_ASSERT(VERSION_SELECT(0xac, 0xac, 0xbb, 0xbb), dgo_capture_c != NULL);
mDoExt_setCurrentHeap(oldHeap);
} else {
@@ -186,7 +186,7 @@ BOOL dGameover_c::deleteCheck() {
return mState == 6;
}
#if VERSION == VERSION_JPN
#if VERSION <= VERSION_JPN
static const s16 dGover_tex_number = 8;
#else
static s16 dGover_tex_number = 8;