summaryrefslogtreecommitdiff
path: root/classic_controller.yaml
diff options
context:
space:
mode:
authorStephen Simpson <megazig@gmail.com>2011-09-28 11:33:05 -0500
committerStephen Simpson <megazig@gmail.com>2011-09-28 11:33:05 -0500
commitfe4f07bb5c43566a799058f8a52e30e35be55003 (patch)
treed3b8df20d8810b148a0761412d9cfa6d8ff46a2b /classic_controller.yaml
parent7bb50c1714a74ba7e8468ead8f92b1f1ccceef6d (diff)
downloadkamek-fe4f07bb5c43566a799058f8a52e30e35be55003.tar.gz
kamek-fe4f07bb5c43566a799058f8a52e30e35be55003.zip
fixed ntsc addresses to pal in the classic_controller.yaml
added basic support for left analog stick in classic_controller.S
Diffstat (limited to '')
-rw-r--r--classic_controller.yaml20
1 files changed, 13 insertions, 7 deletions
diff --git a/classic_controller.yaml b/classic_controller.yaml
index eb02398..08354c2 100644
--- a/classic_controller.yaml
+++ b/classic_controller.yaml
@@ -4,31 +4,37 @@ hooks:
- name: AddClassicController
type: branch_insn
branch_type: bl
- src_addr_ntsc: 0xdeadbeef
+ src_addr_pal: 0x801eb6f8
+ #src_addr_ntsc: 0x801eb5b8
target_func: '_switch_buttons'
- name: Patch1
type: patch
- addr_ntsc: 0x801EAE30
+ addr_pal: 0x801EAF70
+ #addr_ntsc: 0x801EAE30
data: '39800000 91840000'
- name: PatchExtensionScall
type: patch
- addr_ntsc: 0x80019EE0
+ addr_pal: 0x80019EE0
+ #addr_ntsc: 0x80019EE0
data: '38000000'
- name: Patch3
type: patch
- addr_ntsc: 0x800B3B30
+ addr_pal: 0x800B3B30
+ #addr_ntsc: 0x800B3B30
data: '38000000'
- name: Patch4
type: patch
- addr_ntsc: 0x8076DBA8
- data: '38000000'
+ addr_pal: 0x8076DB98
+ #addr_ntsc: 0x8076DBA8
+ data: '38000004'
- name: Patch5
type: patch
- addr_ntsc: 0x8076DBE8
+ addr_pal: 0x8076DBd8
+ #addr_ntsc: 0x8076DBE8
data: '38000000'