mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
0e31a9c407
This change adds a few new features: - Decompiler automatically knows the type of `find-parent-method` use in jak 1 and jak2 when used in a method or virtual state handler. - Decompiler inserts a call to `call-parent-method` or `find-parent-state` - Removed most casts related to these functions There are still a few minor issues around this: - There are still some casts needed when using `post` methods, as `post` is just a `function`, and needs a cast to `(function none)` or similar. It didn't seem easy to change the type of `post`, so I'm not going to worry about it for this PR. It only shows up in like 3 places in jak 2. (and 0 in jak 1) - If "call the handler if it's not #f" logic should probably be another macro. Fixes #805 |
||
---|---|---|
.. | ||
common/formatter | ||
decompiler | ||
goalc | ||
offline | ||
test_data | ||
all_jak1_symbols.cpp | ||
all_jak1_symbols.h | ||
CMakeLists.txt | ||
test_CodeTester.cpp | ||
test_common_util.cpp | ||
test_emitter.cpp | ||
test_emitter_avx.cpp | ||
test_goos.cpp | ||
test_kernel_jak1.cpp | ||
test_listener_deci2.cpp | ||
test_main.cpp | ||
test_math.cpp | ||
test_pretty_print.cpp | ||
test_reader.cpp | ||
test_type_system.cpp | ||
test_zstd.cpp | ||
test_zydis.cpp |