Add heap imgui

This commit is contained in:
PJB3005
2026-03-01 22:23:30 +01:00
parent a22e660c0f
commit 6388c3d199
18 changed files with 206 additions and 18 deletions
+13
View File
@@ -141,6 +141,10 @@ protected:
/* 0x68 */ bool mErrorFlag;
/* 0x69 */ bool mInitFlag;
#if TARGET_PC
char mName[32];
#endif
public:
static bool initArena(char** memory, u32* size, int maxHeaps);
static bool initArena2(char** memory, u32* size, int maxHeaps);
@@ -209,6 +213,15 @@ public:
#endif
static JKRErrorHandler mErrorHandler;
#if TARGET_PC
void setName(const char* name);
const char* getName() const;
#define JKRHEAP_NAME(heap, name) (heap)->setName(name)
#else
#define JKRHEAP_NAME(heap, name)
#endif
};
#ifndef TARGET_PC