summaryrefslogtreecommitdiff
path: root/classic_controller.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'classic_controller.yaml')
-rw-r--r--classic_controller.yaml40
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'
+