[jak3] A bunch of small fixes to get game.cgo to load (#3435)

The `test-play` macro is back, though it doesn't call `play` yet. We can
at least load all of `game.cgo`, which involves loading a lot of the
code we've decompiled, loading/linking objects files compiled by
OpenGOAL (like dir-tpages), and loading/linking Jak's art-groups (for
jak 3 they are stored v5 format that I added to the linker).

There were no major issues - just a few forgotten mips2c entries and
minor bugs/functions that needed stubs. Most of the work was updating
the linker. Hopefully I'll never have to touch that code again - I think
it supports everything we need for jak 3!
This commit is contained in:
water111
2024-03-24 16:30:28 -04:00
committed by GitHub
parent 9b4b54978a
commit ee015e3b22
23 changed files with 2188 additions and 77 deletions
-2
View File
@@ -793,8 +793,6 @@ void Debugger::read_symbol_table_jak3() {
continue;
}
printf("got %s\n", str.c_str());
// update maps
if (m_symbol_name_to_offset_map.find(str) != m_symbol_name_to_offset_map.end()) {
if (str == "asize-of-basic-func") {