Another attempt at this thing

This commit is contained in:
KiritoDv
2024-10-25 22:39:32 -06:00
parent adc561891a
commit 2354ee76a3
20 changed files with 842 additions and 60 deletions
+3 -2
View File
@@ -10,6 +10,7 @@ extern "C" {
void Main_ThreadEntry(void* arg);
void Lib_FillScreen(u8 setFill);
void Graphics_ThreadUpdate();
void AudioThread_CreateTask();
}
extern "C"
@@ -20,12 +21,12 @@ void Graphics_PushFrame(Gfx* data) {
extern "C" void Timer_Update();
void push_frame() {
// GameEngine::StartAudioFrame();
GameEngine::StartAudioFrame();
GameEngine::Instance->StartFrame();
Graphics_ThreadUpdate();
Timer_Update();
// thread5_iteration();
// GameEngine::EndAudioFrame();
GameEngine::EndAudioFrame();
}
#ifdef _WIN32