-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpilotwings64.us.toml
More file actions
44 lines (37 loc) · 1.13 KB
/
pilotwings64.us.toml
File metadata and controls
44 lines (37 loc) · 1.13 KB
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
# Config file for Pilotwings 64 US Recompilation.
[input]
entrypoint = 0x80200050
# Paths are relative to the location of this config file.
# elf_path = "pilotwings64.us.elf"
symbols_file_path = "lib/Pilotwings64RecompSyms/pilotwings64.us.syms.toml"
rom_file_path = "baserom.us.z64"
output_func_path = "RecompiledFuncs"
use_absolute_symbols = false
# use_mdebug = true
# trace_mode = true
bss_section_suffix = "_bss"
[patches]
stubs = [
]
ignored = [
]
# fixes a bug with the recompiler handling an Indirect tail call.
# [[patches.instruction]]
# func = "func_80040C54"
# vram = 0x80040C8C
# value = 0x03E00008 # jr $s3 -> jr $ra
# Disable SP_STATUS_REG access (memory mapped registers not supported).
[[patches.instruction]]
func = "_uvScDlistRecover"
vram = 0x8022B678
value = 0x00000000 # sw $t6, 0x10($t7) -> nop
# Disable MFC0 register access (register index not supported).
[[patches.instruction]]
func = "func_80231A10"
vram = 0x80231A10
value = 0x00000000 # mfc0 $v0, $9 -> nop
# Disable MTC0 register access (register index not supported).
[[patches.instruction]]
func = "func_80231A10"
vram = 0x80231A18
value = 0x00000000 # mtc0 $v0, $9 -> nop