Skip to content

Commit

Permalink
fix lui addiu pair not populating a1 with proper pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
owlisnotacat1 committed Dec 19, 2024
1 parent 26c8e58 commit 06677af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ASM/src/hacks/z_kaleido_scope.asm
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
nop

.org 0x808264dc
lui a1, 0x8082
lui a1, hi(0x8082a388)
jal kaleidoScope_SwitchCaseHack ; this branch is to a modified version of the pauseCtx->state switch case
addiu a1, 0xA388
addiu a1, lo(0x8082a388)
beq at, v0, 0x808287D8 ; jump to case 17 if v0 is 2
nop
beqz v0, 0x80828BE4 ; jump to return if v0 is 0 else continue flow
Expand Down

0 comments on commit 06677af

Please sign in to comment.