Mark funcs with weak func order issues as Equivalent, fix a few other issues

This commit is contained in:
LagoLunatic
2025-01-23 21:52:41 -05:00
parent 067b47185b
commit ffe54e0bea
10 changed files with 41 additions and 74 deletions
-8
View File
@@ -3,14 +3,6 @@
// Translation Unit: f_op_camera.cpp
//
// Fakematch: These are supposed to be weak functions defined in d_a_player.h that wind up at the end of the
// f_op_actor_mng TU. But weak function ordering is currently broken, so to get f_op_actor_mng to match, we define them
// here (at the start of the *next* TU after f_op_actor_mng) so that they get placed into the correct spot in
// the DOL, even though this is an ugly hack and they're now in the wrong translation unit instead.
#include "d/actor/d_a_player.h"
void daPy_py_c::onFrollCrashFlg(u32) {}
fpc_ProcID daPy_py_c::getGrabActorID() const { return fpcM_ERROR_PROCESS_ID_e; }
#include "f_op/f_op_camera.h"
#include "f_op/f_op_draw_tag.h"
#include "dolphin/types.h"