notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pandora: tripplebuffer fbdev out, refactoring
[libpicofe.git]
/
common
/
emu.c
diff --git
a/common/emu.c
b/common/emu.c
index
23e90eb
..
bde10e4
100644
(file)
--- a/
common/emu.c
+++ b/
common/emu.c
@@
-1535,6
+1535,9
@@
void emu_loop(void)
\r
emu_update_input();
\r
PicoFrame();
\r
\r
emu_update_input();
\r
PicoFrame();
\r
+ pemu_finalize_frame(fpsbuff, notice_msg);
\r
+
\r
+ //plat_video_flip();
\r
\r
/* frame limiter */
\r
if (!reset_timing && !(currentConfig.EmuOpt & (EOPT_NO_FRMLIMIT|EOPT_EXT_FRMLIMIT)))
\r
\r
/* frame limiter */
\r
if (!reset_timing && !(currentConfig.EmuOpt & (EOPT_NO_FRMLIMIT|EOPT_EXT_FRMLIMIT)))
\r
@@
-1552,7
+1555,9
@@
void emu_loop(void)
}
\r
}
\r
\r
}
\r
}
\r
\r
- pemu_update_display(fpsbuff, notice_msg);
\r
+ // XXX: for some plats it might be better to flip before vsync
\r
+ // (due to shadow registers in display hw)
\r
+ plat_video_flip();
\r
\r
pframes_done++; frames_done++; frames_shown++;
\r
}
\r
\r
pframes_done++; frames_done++; frames_shown++;
\r
}
\r