Start DolphinCTexture and CARAMToken

Former-commit-id: f711682fbf
This commit is contained in:
2022-12-03 13:31:54 -08:00
parent dcb342d68a
commit dd56a38ae5
19 changed files with 327 additions and 90 deletions

View File

@@ -5,7 +5,39 @@
class CARAMToken {
public:
enum EStatus {
kS_Zero,
kS_One,
};
CARAMToken();
CARAMToken(void* ptr, uint len);
CARAMToken(const CARAMToken& other);
~CARAMToken();
void PostConstruct(void* ptr, uint len, int unk);
CARAMToken& operator=(const CARAMToken& other);
void LoadToMRAM();
void LoadToARAM();
void RefreshStatus();
static void UpdateAllDMAs();
void InitiallyMoveToList();
void MoveToList(EStatus status);
void RemoveFromList();
void MakeInvalid();
void sub_803583d4();
void sub_80358388();
void* GetMRAMSafe();
private:
int x0_;
void* x4_;
void* x8_;
int xc_;
uint x10_;
int x14_;
int x18_;
bool x1c_24_ : 1;
};
#endif // _CARAMTOKEN