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:
notaz 2009-12-20 19:47:55 +00:00
parent b60b8745c0
commit d08e732614
17 changed files with 404 additions and 171 deletions

View file

@ -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++;
}