m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)

* m_Do_main / f_ap_game debug stuff

* revolution sdk compatibility

* f_op_actor debug work

* rename fopAcM_SetupActor to fopAcM_ct

* fix build

* fix jp/pal splits
This commit is contained in:
TakaRikka
2025-10-19 10:30:49 -07:00
committed by GitHub
parent 31c0f94a10
commit 850fae1aa3
870 changed files with 10837 additions and 964 deletions
+20 -1
View File
@@ -1,7 +1,9 @@
#ifndef DYNAMICLINK_H
#define DYNAMICLINK_H
#include "dolphin/os.h"
#include <dolphin/os.h>
#include "JSystem/JKernel/JKRHeap.h"
#include "global.h"
class JKRArchive;
class JKRFileCache;
@@ -23,6 +25,8 @@ struct DynamicModuleControlBase {
virtual void dump();
#endif
/* 80262470 */ static void dump();
static void dump(char*);
/* 802631FC */ virtual void dump2() {};
/* 802631DC */ virtual bool do_load() {return true;};
/* 802631F4 */ virtual BOOL do_load_async() {return true;};
@@ -39,8 +43,23 @@ struct DynamicModuleControlBase {
inline DynamicModuleControlBase* getNextClass() { return mNext; }
bool isLinked() const { return mLinkCount != 0; }
#if DEBUG
static void resetDoLinkCount() {} // TODO
static void dumpTag() {} // TODO
#endif
static DynamicModuleControlBase* mFirst;
static DynamicModuleControlBase* mLast;
#if DEBUG
static u8 verbose;
#endif
#if PLATFORM_WII || PLATFORM_SHIELD
static JKRHeap* getHeap() { return m_heap; }
static JKRHeap* m_heap;
#endif
};
struct DynamicModuleControl : DynamicModuleControlBase {