mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-04 08:48:45 -04:00
JKRAramHeap and JKRAramPiece (#53)
* renamed func_XXX to _savegpr_XX * renamed func_XXX to _restgpr_XX * renamed func_XXX to _savefpr_XX * renamed func_XXX to _restfpr_XX * cleanup functions.h and moved intrisics to mwcc.h * formatting * cleanup functions.h * Added include/ar/ARQ.h * renamed func_XXX to _savegpr_25 * removed JKRAramPiece asm files * JKRAramHeap OK, JKRAramPiece OK * formatting * more formatting * Added const and removed explicit this-> * fixed merge problems * changed mMessages[1] to mMessage * foramatting Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -13,13 +13,15 @@ public:
|
||||
JKRAramBlock* allocHead(u32, u8, JKRAramHeap*);
|
||||
JKRAramBlock* allocTail(u32, u8, JKRAramHeap*);
|
||||
|
||||
void* getAddress() { return (void*)this->mAddress; }
|
||||
void* getAddress() const { return (void*)mAddress; }
|
||||
|
||||
u32 getSize() { return this->mSize; }
|
||||
u32 getSize() const { return mSize; }
|
||||
|
||||
bool isTempMemory() { return this->mIsTempMemory; }
|
||||
u32 getFreeSize() const { return mFreeSize; }
|
||||
|
||||
void newGroupID(u8 groupId) { this->mGroupId = groupId; }
|
||||
bool isTempMemory() const { return mIsTempMemory; }
|
||||
|
||||
void newGroupID(u8 groupId) { mGroupId = groupId; }
|
||||
|
||||
public:
|
||||
JSULink<JKRAramBlock> mBlockLink;
|
||||
|
||||
Reference in New Issue
Block a user