Fix weak function order of dBgS_MoveBgActor::Draw

fixes #217
fixes #239
fixes #389
fixes #418
fixes #428
fixes #147
This commit is contained in:
LagoLunatic
2025-05-19 18:41:23 -04:00
parent 3d5131231f
commit fd6cb6e4ca
15 changed files with 44 additions and 33 deletions
+5 -2
View File
@@ -3,10 +3,10 @@
// Translation Unit: d_a_obj_eskban.cpp
//
#include "d/d_procname.h"
#include "d/d_com_inf_game.h"
#include "d/actor/d_a_obj_eskban.h"
#include "d/res/res_eskban.h"
#include "d/d_procname.h"
#include "d/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
@@ -408,6 +408,9 @@ BOOL Mthd_Draw(void* i_this) {
return ((Act_c*)i_this)->MoveBGDraw();
}
// Fakematch to fix weak func order/.text section splitting of dBgS_MoveBgActor::Draw().
#pragma nosyminline off
/* 00001540-0000156C .text Mthd_IsDelete__Q211daObjEskban28@unnamed@d_a_obj_eskban_cpp@FPv */
BOOL Mthd_IsDelete(void* i_this) {
return ((Act_c*)i_this)->MoveBGIsDelete();