summaryrefslogtreecommitdiff
path: root/src/switchblock.S
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-09-26 11:51:03 -0500
committerColin Noga <Tempus@chronometry.ca>2012-09-26 11:51:03 -0500
commitf9afbf1109b30bbc6011e81109b7e11961a4361a (patch)
tree46883b3ccd9ab82b439c192a657e0632414e906a /src/switchblock.S
parent3268b1fab87a34897289faa8a1f5ee0679f74e19 (diff)
parent46b65dfd76411bec6f8356c581f337f8a1944013 (diff)
downloadkamek-f9afbf1109b30bbc6011e81109b7e11961a4361a.tar.gz
kamek-f9afbf1109b30bbc6011e81109b7e11961a4361a.zip
Merge remote-tracking branch 'origin/new-hud' into level-select
Diffstat (limited to '')
-rw-r--r--src/switchblock.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/switchblock.S b/src/switchblock.S
index b86d5e2..4df2433 100644
--- a/src/switchblock.S
+++ b/src/switchblock.S
@@ -11,14 +11,14 @@
#endif
.align 4
-.extern GameMgr
+.extern GameMgrP
.extern BG_GM_ptr
.extern _restgpr_27
.global BG_GM_InitRedSwitchFlag_Patch
BG_GM_InitRedSwitchFlag_Patch:
- lis r5, GameMgr@h
- ori r5, r5, GameMgr@l
+ lis r5, GameMgrP@h
+ ori r5, r5, GameMgrP@l
lwz r5, 0(r5)
addis r4, r3, 9