summaryrefslogtreecommitdiff
path: root/bugfixes.yaml
blob: 2d7721bb330598a63f625b3f3921fb5d53856129 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
---
# This has kind of turned into the "random stuff that we don't want to make a yaml for"
# yaml, hasn't it...
source_files: [../src/randomcrap.S, ../src/music.cpp, ../src/fix38.S, ../src/nullsub.S, ../src/newer.cpp]
hooks:
  - name: FixMemoryLeaks
    type: patch
    addr_pal: 0x800E53E0
    data: '4E800020'

  - name: MusicHax
    type: branch_insn
    src_addr_pal: 0x8008E5E4
    branch_type: b
    target_func: 'after_course_getMusicForZone'

  # IDs to nuke: 1, 2, 4, 10
  - name: MusicNukeBahpsNormal1
    type: patch
    addr_pal: 0x802F6BC8
    data: '00000000 00000000 00000000 00000000'
  - name: MusicNukeBahpsNormal2
    type: patch
    addr_pal: 0x802F6BE0
    data: '00000000 00000000'
  - name: MusicNukeBahpsNormal3
    type: patch
    addr_pal: 0x802F6C10
    data: '00000000 00000000'

  - name: MusicNukeBahpsFast1
    type: patch
    addr_pal: 0x802F6CB0
    data: '00000000 00000000 00000000 00000000'
  - name: MusicNukeBahpsFast2
    type: patch
    addr_pal: 0x802F6CC8
    data: '00000000 00000000'
  - name: MusicNukeBahpsFast3
    type: patch
    addr_pal: 0x802F6CF8
    data: '00000000 00000000'

  - name: Fix38WithJumpCoin
    src_addr_pal: 0x807EBC5C
    type: branch_insn
    branch_type: b
    target_func: 'fix38WithJumpCoin'

  - name: 1-1 BG Fix
    type: patch
    addr_ntsc: 0x80117F6C
    addr_pal: 0x801180AC
    data: '38000003'
    
  - name: PipeFix_NodeCalc
    type: patch
    addr_ntsc: 0x800508F8
    addr_pal: 0x800508F8
    data: 'A01E0010540007FF41820014A0E300043807FFFEB01F042C4800000C38000001B01F042CA0A30002A89F042C80C6003C7C052214540020367CA60214A8850002'
    
  - name: PipeFix_ExitPatch1
    type: patch
    addr_ntsc: 0x80050A5C
    addr_pal: 0x80050A5C
    data: '88030013'
    
  - name: PipeFix_ExitPatch2
    type: patch
    addr_ntsc: 0x80050A60
    addr_pal: 0x80050A60
    data: '2C000000'
    
  - name: PipeFix_ExitPatch3
    type: patch
    addr_ntsc: 0x80050A68
    addr_pal: 0x80050A68
    data: '2C000001'
    
  - name: PipeFix_ExitPatch4
    type: patch
    addr_ntsc: 0x80050A70
    addr_pal: 0x80050A70
    data: '2C000002'
    
  - name: PipeFix_ExitPatch5
    type: patch
    addr_ntsc: 0x80050A78
    addr_pal: 0x80050A78
    data: '2C000003'
    
  - name: PipeFix_ExitPatch6
    type: patch
    addr_ntsc: 0x80050A88
    addr_pal: 0x80050A88
    data: '389F065C'
    
  - name: ChestnutGoombaForTargets # sprite 10
    type: patch
    addr_ntsc: 0x8030A1D0
    addr_pal: 0x8030A4D0
    data: '00C8 0000 00000008 FFFFFFF0 00000000 00000000 0000000A 0000000A 0000 0000 0000 0000 0002 0000'
    
  - name: TileGodLayerFix
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x807E16D0
    data: '88D2038F'
    
  - name: EN_BIGPILEFix
    type: patch
    addr_pal: 0x8001F93C
    data: '48000014'

  - name: RockyWrenchFix
    type: patch
    addr_pal: 0x808A9448
    data: '60000000'

#  - name: HeapChangeAttempt
#    type: branch_insn
#    branch_type: bl
#    src_addr_ntsc: 0xdeadbeef
#    src_addr_pal: 0x80081E34
#    target_func: 'HeapChangeAttempt'
    
  - name: StarsDontKillSpikesUD
    type: add_func_pointer
    src_addr_pal: 0x80AFF4D8
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesD
    type: add_func_pointer
    src_addr_pal: 0x80AFF784
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesU
    type: add_func_pointer
    src_addr_pal: 0x80AFFA30
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesLR
    type: add_func_pointer
    src_addr_pal: 0x80AFFCDC
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesR
    type: add_func_pointer
    src_addr_pal: 0x80AFFF88
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesL
    type: add_func_pointer
    src_addr_pal: 0x80B00234
    target_func: 'ReturnNone'


  - {name: AlwaysDrawPictureFontWhite, type: branch_insn, branch_type: b, src_addr_pal: 0x800E596C, target_func: 'TextWriterCrap'}