diff options
author | Treeki <treeki@gmail.com> | 2012-09-25 23:03:30 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-25 23:03:30 +0200 |
commit | 46b65dfd76411bec6f8356c581f337f8a1944013 (patch) | |
tree | 016b4487a80bd6373589006e69b8c6bbbcf9188e /src/switchblock.S | |
parent | f4be7c3e4a44a6ec870eb61863a3d294da6f10ae (diff) | |
download | kamek-46b65dfd76411bec6f8356c581f337f8a1944013.tar.gz kamek-46b65dfd76411bec6f8356c581f337f8a1944013.zip |
added Remocon and GameMgr definitions, and made map HUD buttons work
Diffstat (limited to '')
-rw-r--r-- | src/switchblock.S | 6 |
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 |