first try to draw first logo

This commit is contained in:
Lurs
2026-02-20 21:13:50 +01:00
parent 8020eb64ba
commit a41c3d59b4
26 changed files with 517 additions and 65 deletions
+8
View File
@@ -5,6 +5,7 @@
*/
#include "m_Do/m_Do_main.h"
#include <dolphin/vi.h>
#include <string>
#include "DynamicLink.h"
#include "JSystem/JAudio2/JASAudioThread.h"
@@ -178,11 +179,18 @@ void main01(void) {
mDoCPd_c::read(); // Read Controller
// Simulate VI retrace interrupt — fires post-retrace callback which sends
// a message to JUTVideo's queue, unblocking waitForTick() in beginRender()
VIWaitForRetrace();
// --- EXECUTE GAME LOGIC & RENDER ---
printf("[DIAG] main01: before fapGm_Execute (frame %d)\n", frame); fflush(stdout);
fapGm_Execute();
printf("[DIAG] main01: after fapGm_Execute\n"); fflush(stdout);
// --- Frame End & Limiter ---
aurora_end_frame();
printf("[DIAG] main01: after aurora_end_frame\n"); fflush(stdout);
std::this_thread::sleep_for(std::chrono::milliseconds(16)); // ~60 FPS Cap
} while (true);