move emu loop to common; redo timing; add pollux timer

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@721 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-07-31 22:01:03 +00:00
parent 6dba776e17
commit b5bfb86438
12 changed files with 385 additions and 312 deletions

View file

@ -34,7 +34,6 @@
static short __attribute__((aligned(4))) sndBuffer[2*44100/50];
static struct timeval noticeMsgTime = { 0, 0 }; // when started showing
static int osd_fps_x;
unsigned char *PicoDraw2FB = NULL; // temporary buffer for alt renderer
@ -43,17 +42,6 @@ unsigned char *PicoDraw2FB = NULL; // temporary buffer for alt renderer
static int pico_pen_x = 0, pico_pen_y = 240/2;
void plat_status_msg(const char *format, ...)
{
va_list vl;
va_start(vl, format);
vsnprintf(noticeMsg, sizeof(noticeMsg), fmt, vl);
va_end(vl);
gettimeofday(&noticeMsgTime, 0);
}
int plat_get_root_dir(char *dst, int len)
{
extern char **g_argv;