mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 14:13:27 -04:00
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:
+20
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user