mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
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:
parent
8f1b51efbc
commit
e5589947f5
3 changed files with 9 additions and 4 deletions
|
@ -790,6 +790,9 @@ static void emu_msg_cb(const char *msg)
|
||||||
}
|
}
|
||||||
gettimeofday(¬iceMsgTime, 0);
|
gettimeofday(¬iceMsgTime, 0);
|
||||||
noticeMsgTime.tv_sec -= 2;
|
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)
|
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 (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;
|
lim_time = (frames_done+1) * target_frametime;
|
||||||
if(currentConfig.Frameskip >= 0) { // frameskip enabled
|
if(currentConfig.Frameskip >= 0) { // frameskip enabled
|
||||||
for(i = 0; i < currentConfig.Frameskip; i++) {
|
for(i = 0; i < currentConfig.Frameskip; i++) {
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#define VERSION "1.201"
|
#define VERSION "1.30"
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
// pico.c
|
// pico.c
|
||||||
#define CAN_HANDLE_240_LINES 1
|
#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(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
|
||||||
//#define dprintf(x...)
|
#define dprintf(x...)
|
||||||
|
|
||||||
#endif //PORT_CONFIG_H
|
#endif //PORT_CONFIG_H
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue