mirror of
https://github.com/zeldaret/tp
synced 2026-07-03 13:00:34 -04:00
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:
+11
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user