}\r
gettimeofday(¬iceMsgTime, 0);\r
noticeMsgTime.tv_sec -= 2;\r
+\r
+ /* assumption: emu_msg_cb gets called only when something slow is about to happen */\r
+ reset_timing = 1;\r
}\r
\r
static void emu_state_cb(const char *str)\r
if (frames_shown > frames_done) frames_shown = frames_done;\r
}\r
}\r
-\r
+#if 0\r
+ sprintf(fpsbuff, "%05i", Pico.m.frame_count);\r
+#endif\r
lim_time = (frames_done+1) * target_frametime;\r
if(currentConfig.Frameskip >= 0) { // frameskip enabled\r
for(i = 0; i < currentConfig.Frameskip; i++) {\r
// pico.c
#define CAN_HANDLE_240_LINES 1
-#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
-//#define dprintf(x...)
+//#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
+#define dprintf(x...)
#endif //PORT_CONFIG_H