diff options
author | Stephen Simpson <megazig@gmail.com> | 2011-09-28 10:20:20 -0500 |
---|---|---|
committer | Stephen Simpson <megazig@gmail.com> | 2011-09-28 10:20:20 -0500 |
commit | 7bb50c1714a74ba7e8468ead8f92b1f1ccceef6d (patch) | |
tree | eb645c82f8ad6da9f2786224563c787214f123bb /classic_controller.yaml | |
parent | f35befab481e013d76631baf6abec5f69ff703a6 (diff) | |
download | kamek-7bb50c1714a74ba7e8468ead8f92b1f1ccceef6d.tar.gz kamek-7bb50c1714a74ba7e8468ead8f92b1f1ccceef6d.zip |
started adding classic controller
analog not yet implemented
tilt not yet implemented
Diffstat (limited to '')
-rw-r--r-- | classic_controller.yaml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/classic_controller.yaml b/classic_controller.yaml new file mode 100644 index 0000000..eb02398 --- /dev/null +++ b/classic_controller.yaml @@ -0,0 +1,34 @@ +--- +source_files: [../src/classic_controller.S] +hooks: + - name: AddClassicController + type: branch_insn + branch_type: bl + src_addr_ntsc: 0xdeadbeef + target_func: '_switch_buttons' + + - name: Patch1 + type: patch + addr_ntsc: 0x801EAE30 + data: '39800000 91840000' + + - name: PatchExtensionScall + type: patch + addr_ntsc: 0x80019EE0 + data: '38000000' + + - name: Patch3 + type: patch + addr_ntsc: 0x800B3B30 + data: '38000000' + + - name: Patch4 + type: patch + addr_ntsc: 0x8076DBA8 + data: '38000000' + + - name: Patch5 + type: patch + addr_ntsc: 0x8076DBE8 + data: '38000000' + |