mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
pandora: tripplebuffer fbdev out, refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@845 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
b60b8745c0
commit
d08e732614
17 changed files with 404 additions and 171 deletions
|
@ -1535,6 +1535,9 @@ void emu_loop(void)
|
|||
|
||||
emu_update_input();
|
||||
PicoFrame();
|
||||
pemu_finalize_frame(fpsbuff, notice_msg);
|
||||
|
||||
//plat_video_flip();
|
||||
|
||||
/* frame limiter */
|
||||
if (!reset_timing && !(currentConfig.EmuOpt & (EOPT_NO_FRMLIMIT|EOPT_EXT_FRMLIMIT)))
|
||||
|
@ -1552,7 +1555,9 @@ void emu_loop(void)
|
|||
}
|
||||
}
|
||||
|
||||
pemu_update_display(fpsbuff, notice_msg);
|
||||
// XXX: for some plats it might be better to flip before vsync
|
||||
// (due to shadow registers in display hw)
|
||||
plat_video_flip();
|
||||
|
||||
pframes_done++; frames_done++; frames_shown++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue