mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-22 14:41:15 +01:00
[XCX] Fix crash in arts mod fix
This commit is contained in:
parent
1d5a8d84ea
commit
2386f8e40c
@ -40,7 +40,7 @@ li r12, 0
|
|||||||
cmpwi r0, 2
|
cmpwi r0, 2
|
||||||
beq _unlockunusedarts
|
beq _unlockunusedarts
|
||||||
cmpwi r0, 3
|
cmpwi r0, 3
|
||||||
beq _whileLoopUseSpecificCharactersArts
|
beq UseSpecificCharactersArts
|
||||||
cmpwi r0, 4
|
cmpwi r0, 4
|
||||||
beq _unlockIndividualArts
|
beq _unlockIndividualArts
|
||||||
|
|
||||||
@ -84,9 +84,10 @@ li r16, $arts
|
|||||||
addi r17, r31, $memoffset-1
|
addi r17, r31, $memoffset-1
|
||||||
b _unlockIndividualArts
|
b _unlockIndividualArts
|
||||||
|
|
||||||
|
UseSpecificCharactersArts:
|
||||||
_whileLoopUseSpecificCharactersArts:
|
|
||||||
addi r31, r31, $memoffset+0x9B
|
addi r31, r31, $memoffset+0x9B
|
||||||
|
li r12, 0
|
||||||
|
_whileLoopUseSpecificCharactersArts:
|
||||||
stbu r12, 1(r17)
|
stbu r12, 1(r17)
|
||||||
cmpw r17, r31
|
cmpw r17, r31
|
||||||
blt+ _whileLoopUseSpecificCharactersArts
|
blt+ _whileLoopUseSpecificCharactersArts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user