Move `nuGfxTask` functions to it's own C file

This commit is contained in:
gijs 2023-10-20 17:25:02 +02:00
parent 25048fc641
commit d3f8360be2
3 changed files with 9 additions and 7 deletions

View File

@ -113,6 +113,7 @@ segments:
- [0x18F30, asm]
- [0x18F80, asm]
- [0x19050, c, "_ob_past_brick"]
- [0x19940, c, "nu/nugfxtaskmgr"]
- [0x19D90, c, "_ob_thoughtless_van"]
- [0x19DD0, c, "_ob_questionable_glass"]
- [0x19E10, asm]

View File

@ -171,10 +171,4 @@ void nuScSetFrameBufferNum(u8 frameBufferNum) {
s32 nuScGetFrameRate() {
return nusched.frameRate;
}
INCLUDE_ASM(const s32, "_ob_past_brick", nuGfxTaskMgr);
INCLUDE_ASM(const s32, "_ob_past_brick", nuGfxTaskMgrInit);
INCLUDE_ASM(const s32, "_ob_past_brick", nuGfxTaskStart);
}

7
src/nu/nugfxtaskmgr.c Normal file
View File

@ -0,0 +1,7 @@
#include "common.h"
INCLUDE_ASM(const s32, "nu/nugfxtaskmgr", nuGfxTaskMgr);
INCLUDE_ASM(const s32, "nu/nugfxtaskmgr", nuGfxTaskMgrInit);
INCLUDE_ASM(const s32, "nu/nugfxtaskmgr", nuGfxTaskStart);