Create a frame rate

This commit is contained in:
2023-04-26 22:06:47 +02:00
parent f566383467
commit a2c735f158
7 changed files with 79 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
#include <PSX/Timer/high_res_timer.hpp>
#include <PSX/GPU/gpu.hpp>
#include <stdio.h>
extern "C" void busy_loop(int count);
@@ -16,6 +17,11 @@ static void mesaure_busy_loop() {
}
void main() {
printf("Hello Planschbecken!\n");
printf("Hello PoolBox!\n");
mesaure_busy_loop();
while(true) {
printf("Doing stuff...\n");
JabyEngine::GPU::swap_buffers_vsync(2);
}
}