Decompile tfrag, tie, prim (#3429)

These still need to be ported to PC.
This commit is contained in:
water111
2024-03-17 13:32:05 -04:00
committed by GitHub
parent f7bfc8cab1
commit ea4820356c
41 changed files with 10474 additions and 713 deletions
+3 -2
View File
@@ -280,6 +280,7 @@ namespace generic_no_light_proc { extern void link(); }
namespace method_9_font_work { extern void link(); }
namespace draw_string_asm { extern void link(); }
namespace get_string_length { extern void link(); }
namespace method_9_prim_strip { extern void link(); }
}
// clang-format on
@@ -464,8 +465,8 @@ PerGameVersion<std::unordered_map<std::string, std::vector<void (*)()>>> gMips2C
jak3::generic_warp_dest::link, jak3::generic_warp_envmap_dest::link,
jak3::generic_no_light_proc::link}},
{"font",
{jak3::method_9_font_work::link, jak3::draw_string_asm::link,
jak3::get_string_length::link}}}};
{jak3::method_9_font_work::link, jak3::draw_string_asm::link, jak3::get_string_length::link}},
{"prim", {jak3::method_9_prim_strip::link}}}};
void LinkedFunctionTable::reg(const std::string& name, u64 (*exec)(void*), u32 stack_size) {
const auto& it = m_executes.insert({name, {exec, Ptr<u8>()}});