mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-15 21:49:56 -04:00
Debug work + some retail regalloc fixes (#2787)
* Debug work + some retail regalloc fixes * Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee * Link m_Do_machine * Fix clang putting other includes before the pchs * Link some more debug TUs that already match
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define JFWSYSTEM_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
|
||||
typedef struct _GXRenderModeObj GXRenderModeObj;
|
||||
class JKRExpHeap;
|
||||
@@ -27,7 +28,7 @@ struct JFWSystem {
|
||||
static s32 decompPriority;
|
||||
static s32 aPiecePriority;
|
||||
static ResFONT* systemFontRes;
|
||||
static GXRenderModeObj* renderMode;
|
||||
static const GXRenderModeObj* renderMode;
|
||||
static u32 exConsoleBufferSize;
|
||||
};
|
||||
|
||||
@@ -38,12 +39,30 @@ struct JFWSystem {
|
||||
static JKRExpHeap* getSystemHeap() { return systemHeap; }
|
||||
static JUTResFont* getSystemFont() { return systemFont; }
|
||||
|
||||
static void setMaxStdHeap(s32 max) { CSetUpParam::maxStdHeaps = max; }
|
||||
static void setSysHeapSize(u32 size) { CSetUpParam::sysHeapSize = size; }
|
||||
static void setFifoBufSize(u32 size) { CSetUpParam::fifoBufSize = size; }
|
||||
static void setAramAudioBufSize(u32 size) { CSetUpParam::aramAudioBufSize = size; }
|
||||
static void setAramGraphBufSize(u32 size) { CSetUpParam::aramGraphBufSize = size; }
|
||||
static void setRenderMode(GXRenderModeObj* p_modeObj) { CSetUpParam::renderMode = p_modeObj; }
|
||||
static void setMaxStdHeap(int max) {
|
||||
JUT_ASSERT(47, sInitCalled == FALSE);
|
||||
CSetUpParam::maxStdHeaps = max;
|
||||
}
|
||||
static void setSysHeapSize(u32 size) {
|
||||
JUT_ASSERT(50, sInitCalled == FALSE);
|
||||
CSetUpParam::sysHeapSize = size;
|
||||
}
|
||||
static void setFifoBufSize(u32 size) {
|
||||
JUT_ASSERT(53, sInitCalled == FALSE);
|
||||
CSetUpParam::fifoBufSize = size;
|
||||
}
|
||||
static void setAramAudioBufSize(u32 size) {
|
||||
JUT_ASSERT(58, sInitCalled == FALSE);
|
||||
CSetUpParam::aramAudioBufSize = size;
|
||||
}
|
||||
static void setAramGraphBufSize(u32 size) {
|
||||
JUT_ASSERT(61, sInitCalled == FALSE);
|
||||
CSetUpParam::aramGraphBufSize = size;
|
||||
}
|
||||
static void setRenderMode(const GXRenderModeObj* p_modeObj) {
|
||||
JUT_ASSERT(80, sInitCalled == FALSE);
|
||||
CSetUpParam::renderMode = p_modeObj;
|
||||
}
|
||||
|
||||
static JKRExpHeap* rootHeap;
|
||||
static JKRExpHeap* systemHeap;
|
||||
|
||||
Reference in New Issue
Block a user