Skip to content

Commit

Permalink
[XCX] Fix crash in arts mod fix
Browse files Browse the repository at this point in the history
  • Loading branch information
intra0 authored Jan 10, 2025
1 parent 1d5a8d8 commit 2386f8e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ li r12, 0
cmpwi r0, 2
beq _unlockunusedarts
cmpwi r0, 3
beq _whileLoopUseSpecificCharactersArts
beq UseSpecificCharactersArts
cmpwi r0, 4
beq _unlockIndividualArts

Expand Down Expand Up @@ -84,9 +84,10 @@ li r16, $arts
addi r17, r31, $memoffset-1
b _unlockIndividualArts


_whileLoopUseSpecificCharactersArts:
UseSpecificCharactersArts:
addi r31, r31, $memoffset+0x9B
li r12, 0
_whileLoopUseSpecificCharactersArts:
stbu r12, 1(r17)
cmpw r17, r31
blt+ _whileLoopUseSpecificCharactersArts
Expand Down

0 comments on commit 2386f8e

Please sign in to comment.