Splat changes (#462)

* Merge changes from splat where it makes sense at this stage.

* Update score, and script for what seems like new map file style.

* format

* Fix accidental inclusion of version specific details.

* Match camera_init

* Update Score

* Near match for func_80046524

* Format

* Woops, it's NON_MATCHING

* Missed button pressed value

* Work on documenting func_80046524

* MAtch func_80046524

* Match func_80046524

* Minor changes

* Fix warnings in func_80046524

* format.py

* Update README

* Match func_800230D0

* Fix UB in mode_init_taj_race
This commit is contained in:
Ryan Myers
2025-02-21 09:23:36 -05:00
committed by GitHub
parent d4233e3747
commit 39c01d4f5e
56 changed files with 982 additions and 1925 deletions
+2 -2
View File
@@ -67,10 +67,10 @@ class DkrMapFile:
functions = []
lines = mapFile.read().split('\n')
for line in lines:
if line.startswith(' 0x00000000'):
if line.startswith(' 0x8'):
if '=' in line:
line = line[0:line.find('=')-1]
address = int(line[26:26+8], 16)
address = int(line[18:18+8], 16)
if address >= CODE_START and address < CODE_END:
symbol = line[line.rfind(' ')+1:]
functions.append((symbol, address))