bugfixes in cd/Memory.s, poll loop detection

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@77 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-03-24 18:25:17 +00:00
parent 8f1b51efbc
commit e5589947f5
3 changed files with 9 additions and 4 deletions

View file

@ -790,6 +790,9 @@ static void emu_msg_cb(const char *msg)
}
gettimeofday(&noticeMsgTime, 0);
noticeMsgTime.tv_sec -= 2;
/* assumption: emu_msg_cb gets called only when something slow is about to happen */
reset_timing = 1;
}
static void emu_state_cb(const char *str)
@ -1168,7 +1171,9 @@ void emu_Loop(void)
if (frames_shown > frames_done) frames_shown = frames_done;
}
}
#if 0
sprintf(fpsbuff, "%05i", Pico.m.frame_count);
#endif
lim_time = (frames_done+1) * target_frametime;
if(currentConfig.Frameskip >= 0) { // frameskip enabled
for(i = 0; i < currentConfig.Frameskip; i++) {

View file

@ -1,2 +1,2 @@
#define VERSION "1.201"
#define VERSION "1.30"