X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2Femu.c;h=a9a21193a7dbd1ea030682c6c6cd7bf2d638d6a5;hb=22b2271a09c970cf2d4c9ba28460f7a5aa2a6127;hp=0425075020d35e44d8dfdc4fddd4da780c673cb8;hpb=ee0f881e9f135db6ed9337b99f611b3cae955f8c;p=libpicofe.git diff --git a/pandora/emu.c b/pandora/emu.c index 0425075..a9a2119 100644 --- a/pandora/emu.c +++ b/pandora/emu.c @@ -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(¬iceMsgTime, 0); -} - int plat_get_root_dir(char *dst, int len) { extern char **g_argv; @@ -134,7 +122,7 @@ static void osd_text(int x, int y, const char *text) p = (int *) ((unsigned char *) g_screen_ptr+x+g_screen_width*(y+h)); for (i = len; i; i--, p++) *p = 0xe0e0e0e0; } - emu_textOut8(x, y, text); + emu_text_out8(x, y, text); } else { int *p, i, h; x &= ~1; // align x @@ -143,7 +131,7 @@ static void osd_text(int x, int y, const char *text) p = (int *) ((unsigned short *) g_screen_ptr+x+g_screen_width*(y+h)); for (i = len; i; i--, p++) *p = 0;//(*p>>2)&0x39e7; } - textOut16(x, y, text); + text_out16(x, y, text); } }