Working on apu

This commit is contained in:
2025-02-17 21:22:13 -07:00
parent 4823aeae93
commit 020feb2a6f
7 changed files with 100 additions and 31 deletions

View File

@ -158,6 +158,14 @@ void ppu_mode_hblank() {
delay((ppu_get_context()->target_frame_time - frame_time));
}
while(ppu_get_context()->paused) {
delay(10);
if(ppu_get_context()->frame){
ppu_get_context()->frame = false;
break;
}
}
if (end - start_timer >= 1000) {
u32 fps = frame_count;
start_timer = end;