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