Fix UNF by moving it's code to engine segment

Additionally update UNF code to latest master
This commit is contained in:
CrashOveride95 committed 2021-09-12 19:33:32 -04:00
1 parent 3ba7236e64
commit 77dd0045fa
8 files changed
+43 -43

No files matched your search

+4 -3
View File
@@ -319,6 +319,10 @@ void thread3_main(UNUSED void *arg) {
crash_screen_init();
#endif
#ifdef UNF
debug_initialize();
#endif
#ifdef DEBUG
osSyncPrintf("Super Mario 64\n");
osSyncPrintf("Built by: %s\n", __username__);
@@ -462,9 +466,6 @@ void thread1_idle(UNUSED void *arg) {
osViSetSpecialFeatures(OS_VI_DITHER_FILTER_ON);
osViSetSpecialFeatures(OS_VI_GAMMA_OFF);
osCreatePiManager(OS_PRIORITY_PIMGR, &gPIMesgQueue, gPIMesgBuf, ARRAY_COUNT(gPIMesgBuf));
#ifdef UNF
debug_initialize();
#endif
create_thread(&gMainThread, 3, thread3_main, NULL, gThread3Stack + 0x2000, 100);
osStartThread(&gMainThread);
-4
View File
@@ -17,10 +17,6 @@
#if defined(RNC1) || defined(RNC2)
#include <rnc.h>
#endif
#ifdef UNF
#include "usb/usb.h"
#include "usb/debug.h"
#endif
// round up to the next multiple