add wii usa rev0 support (#2505)

* wii usa rev0 dol building ok

* wii dol cleanup

* some wii tests

* most rels building
This commit is contained in:
TakaRikka
2025-06-27 03:14:58 -07:00
committed by GitHub
parent 028c07d47d
commit 79c56b2548
1525 changed files with 125994 additions and 807 deletions
+11 -1
View File
@@ -193,7 +193,11 @@ static bool objectSetCheck(room_of_scene_class* i_this) {
if (*dStage_roomControl_c::getDemoArcName() != '\0') {
int phase = dComIfG_syncObjectRes(dStage_roomControl_c::getDemoArcName());
if (phase >= 0 && phase > 0) {
if (phase < 0) {
#if VERSION == VERSION_WII_USA_R0
dStage_escapeRestart();
#endif
} else if (phase > 0) {
return 0;
}
}
@@ -342,6 +346,9 @@ static int phase_1(room_of_scene_class* i_this) {
}
if (!dComIfG_setStageRes(arcName, heap)) {
#if VERSION == VERSION_WII_USA_R0
dStage_escapeRestart();
#endif
return cPhs_ERROR_e;
}
}
@@ -355,6 +362,9 @@ static int phase_2(room_of_scene_class* i_this) {
int phase = dComIfG_syncStageRes(arcName);
if (phase < 0) {
#if VERSION == VERSION_WII_USA_R0
dStage_escapeRestart();
#endif
return cPhs_ERROR_e;
}