From fe4f07bb5c43566a799058f8a52e30e35be55003 Mon Sep 17 00:00:00 2001 From: Stephen Simpson Date: Wed, 28 Sep 2011 11:33:05 -0500 Subject: fixed ntsc addresses to pal in the classic_controller.yaml added basic support for left analog stick in classic_controller.S --- classic_controller.yaml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'classic_controller.yaml') 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' -- cgit v1.2.3