diff options
author | Colin Noga <Tempus@Spectrum-Song.local> | 2011-10-09 01:49:26 -0500 |
---|---|---|
committer | Colin Noga <Tempus@Spectrum-Song.local> | 2011-10-09 01:49:26 -0500 |
commit | c83ed47633a037acd6cdab7d37087bca5edd6daa (patch) | |
tree | 06765edbefa1fc9594a61b3c63446ac2e9ab61ec /classic_controller.yaml | |
parent | d4ba9bf11d4786c4df5e94c5241492c4eb43c2b6 (diff) | |
parent | 9cde0784c0d82a4e95d7ff7195537d3a519efeb9 (diff) | |
download | kamek-c83ed47633a037acd6cdab7d37087bca5edd6daa.tar.gz kamek-c83ed47633a037acd6cdab7d37087bca5edd6daa.zip |
Merge branch 'level-select' of ssh://treeki.shacknet.nu:30000/Kamek into level-select
Diffstat (limited to '')
-rw-r--r-- | classic_controller.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/classic_controller.yaml b/classic_controller.yaml new file mode 100644 index 0000000..8165c7d --- /dev/null +++ b/classic_controller.yaml @@ -0,0 +1,40 @@ +--- +source_files: [../src/classic_controller.S] +hooks: + - name: AddClassicController + type: branch_insn + branch_type: b + src_addr_pal: 0x801eb6f8 + src_addr_ntsc: 0x801eb5b8 + target_func: '_switch_buttons' + + - name: Patch1 + type: patch + addr_pal: 0x801EAF70 + addr_ntsc: 0x801EAE30 + data: '39800000 91840000' + + - name: PatchExtensionScall + type: patch + addr_pal: 0x80019EE0 + addr_ntsc: 0x80019EE0 + data: '38000000' + + - name: Patch3 + type: patch + addr_pal: 0x800B3B30 + addr_ntsc: 0x800B3B30 + data: '38000000' + + - name: Patch4 + type: patch + addr_pal: 0x8076DB68 + addr_ntsc: 0x8076DBA8 + data: '38000004' + + - name: Patch5 + type: patch + addr_pal: 0x8076DBa8 + addr_ntsc: 0x8076DBE8 + data: '38000000' + |