Working on apu
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user