@@ -3698,11 +3698,11 @@ bool getEventDetails(int32_t index, WarpByEventDetailsStruct *warpByEventDetails
3698
3698
3699
3699
void *initStageEvents ()
3700
3700
{
3701
- // Check to see if any fixes need to be applied to specific maps
3702
- fixRoomProblems ();
3703
-
3704
3701
if (!WarpByEvent.ShouldInit )
3705
3702
{
3703
+ // Check to see if any fixes need to be applied to specific maps
3704
+ fixRoomProblems ();
3705
+
3706
3706
// The overwritten instruction sets r3 to the global work pointer, so return the global work pointer
3707
3707
return ttyd::mariost::globalWorkPointer;
3708
3708
}
@@ -3713,6 +3713,9 @@ void *initStageEvents()
3713
3713
int32_t CurrentIndex = WarpByEvent.CurrentIndex ;
3714
3714
if (!indexToStageAndEvent (CurrentIndex, StageAndEventIds))
3715
3715
{
3716
+ // Check to see if any fixes need to be applied to specific maps
3717
+ fixRoomProblems ();
3718
+
3716
3719
// The overwritten instruction sets r3 to the global work pointer, so return the global work pointer
3717
3720
return ttyd::mariost::globalWorkPointer;
3718
3721
}
@@ -3722,6 +3725,9 @@ void *initStageEvents()
3722
3725
3723
3726
if (!checkForValidStageAndEvent (StageId, EventId))
3724
3727
{
3728
+ // Check to see if any fixes need to be applied to specific maps
3729
+ fixRoomProblems ();
3730
+
3725
3731
// The overwritten instruction sets r3 to the global work pointer, so return the global work pointer
3726
3732
return ttyd::mariost::globalWorkPointer;
3727
3733
}
@@ -3941,6 +3947,9 @@ void *initStageEvents()
3941
3947
// Override any flags set in this function if the previous flags were locked
3942
3948
lockFlags ();
3943
3949
3950
+ // Check to see if any fixes need to be applied to specific maps
3951
+ fixRoomProblems ();
3952
+
3944
3953
// The overwritten instruction sets r3 to the global work pointer, so return the global work pointer
3945
3954
return ttyd::mariost::globalWorkPointer;
3946
3955
}
0 commit comments