Create a frame rate
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user