summaryrefslogtreecommitdiff
path: root/classic_controller.yaml
blob: 8165c7d427465a5ac86ad2e94407981c3f84203a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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'