summaryrefslogtreecommitdiff
path: root/include/JSystem/JFramework/JFWSystem.h
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-01-09 17:33:14 -0800
committerTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-01-09 17:33:14 -0800
commit37146dfed130ad271f552fc1bbfff4dde7958d53 (patch)
tree26a14703979221daf1a642c9f3726cf7a93dd992 /include/JSystem/JFramework/JFWSystem.h
parent035a24092ee91139ab60d41fb5f8b4fb35053281 (diff)
JFramework mostly ok
Diffstat (limited to 'include/JSystem/JFramework/JFWSystem.h')
-rw-r--r--include/JSystem/JFramework/JFWSystem.h28
1 files changed, 16 insertions, 12 deletions
diff --git a/include/JSystem/JFramework/JFWSystem.h b/include/JSystem/JFramework/JFWSystem.h
index a618ea68f6..b8af555edf 100644
--- a/include/JSystem/JFramework/JFWSystem.h
+++ b/include/JSystem/JFramework/JFWSystem.h
@@ -1,12 +1,16 @@
#ifndef JFWSYSTEM_H
#define JFWSYSTEM_H
+#include "JSystem/JKernel/JKRExpHeap.h"
+#include "JSystem/JKernel/JKRThread.h"
#include "JSystem/JUtility/JUTConsole.h"
+#include "JSystem/JUtility/JUTDbPrint.h"
+#include "JSystem/JUtility/JUTResFont.h"
#include "dolphin/types.h"
struct JFWSystem {
struct CSetUpParam {
- static u32 maxStdHeaps;
+ static s32 maxStdHeaps;
static u32 sysHeapSize;
static u32 fifoBufSize;
static u32 aramAudioBufSize;
@@ -14,22 +18,22 @@ struct JFWSystem {
static u32 streamPriority;
static u32 decompPriority;
static u32 aPiecePriority;
- static void* systemFontRes;
- static void* renderMode;
- static u32 exConsoleBufferSize[1 + 1 /* padding */];
+ static ResFONT* systemFontRes;
+ static GXRenderModeObj* renderMode;
+ static u32 exConsoleBufferSize;
};
- /* 80271CD0 */ void firstInit();
- /* 80271D18 */ void init();
+ /* 80271CD0 */ static void firstInit();
+ /* 80271D18 */ static void init();
static JUTConsole* getSystemConsole() { return systemConsole; }
- static u8 rootHeap[4];
- static u8 systemHeap[4];
- static u8 mainThread[4];
- static u8 debugPrint[4];
- static u8 systemFont[4];
- static u8 systemConsoleManager[4];
+ static JKRExpHeap* rootHeap;
+ static JKRExpHeap* systemHeap;
+ static JKRThread* mainThread;
+ static JUTDbPrint* debugPrint;
+ static JUTResFont* systemFont;
+ static JUTConsoleManager* systemConsoleManager;
static JUTConsole* systemConsole;
};