From df1976cd36e2e64ea0d27cd4f35c6397d6dd7239 Mon Sep 17 00:00:00 2001 From: Archez Date: Thu, 9 May 2024 13:53:18 -0400 Subject: bump latest lus; window changes; header updates (#345) --- mm/src/code/graph.c | 4 +++- mm/src/code/stubs.c | 23 ----------------------- 2 files changed, 3 insertions(+), 24 deletions(-) (limited to 'mm/src/code') diff --git a/mm/src/code/graph.c b/mm/src/code/graph.c index 33f9ec791..8014b50df 100644 --- a/mm/src/code/graph.c +++ b/mm/src/code/graph.c @@ -433,7 +433,9 @@ void RunFrame() { } void Graph_ThreadEntry(void* arg0) { - Graph_ProcessFrame(RunFrame); + while (WindowIsRunning()) { + RunFrame(); + } } // #region 2S2H [Debugging] Debugging methods for viewing file/line info in the renderer. diff --git a/mm/src/code/stubs.c b/mm/src/code/stubs.c index da078b734..e2e894568 100644 --- a/mm/src/code/stubs.c +++ b/mm/src/code/stubs.c @@ -114,12 +114,6 @@ s32 osSetRumble(OSPfs* pfs, u32 vibrate) { return 0; } -void osWritebackDCache(void* vaddr, s32 nbytes) { -} - -void osInvalICache(void* vaddr, size_t nbytes) { -} - u32 __osGetFpcCsr() { return 0; } @@ -134,10 +128,6 @@ OSIntMask __osDisableInt(void) { void __osRestoreInt(OSIntMask a0) { } -OSPiHandle* osCartRomInit(void) { - return NULL; -} - u32 osMemSize = 1024 * 1024 * 1024; void Audio_osInvalDCache(void* buf, s32 size) { @@ -146,12 +136,6 @@ void Audio_osInvalDCache(void* buf, s32 size) { void Audio_osWritebackDCache(void* mem, s32 size) { } -void osInvalDCache(void* vaddr, size_t nbytes) { -} - -void osWritebackDCacheAll(void) { -} - void Audio_SetBGM(u32 bgmId) { } @@ -314,15 +298,8 @@ void __osExceptionPreamble() { } void __osCleanupThread(void) { } -void osSetEventMesg(OSEvent e, OSMesgQueue* mq, OSMesg msg) { -} void osDestroyThread(OSThread* thread) { } -s32 __osMotorAccess(OSPfs* pfs, u32 vibrate) { -} -s32 osMotorInit(OSMesgQueue* ctrlrqueue, OSPfs* pfs, s32 channel) { - return 0; -} s32 osContSetCh(u8 ch) { } void osViSetYScale(f32 scale) { -- cgit v1.2.3