Skip to content

Commit

Permalink
Fix interrupt mask in __IOS_LaunchNewIOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Feb 22, 2025
1 parent d59f564 commit 292b02b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libogc/ios.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ s32 __IOS_LaunchNewIOS(int version)
__ES_Reset();

// Mask IPC IRQ while we're busy reloading
__MaskIrq(IRQ_PI_ACR);
__MaskIrq(IM_PI_ACR);
irq_handler = IRQ_Free(IRQ_PI_ACR);

#ifdef DEBUG_IOS
Expand Down Expand Up @@ -310,7 +310,7 @@ s32 __IOS_LaunchNewIOS(int version)
#endif

IRQ_Request(IRQ_PI_ACR, irq_handler);
__UnmaskIrq(IRQ_PI_ACR);
__UnmaskIrq(IM_PI_ACR);

__IPC_Reinitialize();

Expand Down

0 comments on commit 292b02b

Please sign in to comment.