X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2Femu.c;h=d409b57bb8d63d561d2374269190ab64dd8148d2;hb=053bef765a5dba9d5a050c0944676e96412e293d;hp=bb4b30a94811f3533461f6d68b8d2a0265db558f;hpb=93c18cb44bf9794c7c9bc93411c68880723320d1;p=libpicofe.git diff --git a/pandora/emu.c b/pandora/emu.c index bb4b30a..d409b57 100644 --- a/pandora/emu.c +++ b/pandora/emu.c @@ -134,7 +134,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 +143,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); } } @@ -727,15 +727,15 @@ void pemu_loop(void) frames_done++; frames_shown++; } - emu_changeFastForward(0); + emu_set_fastforward(0); if (PicoAHW & PAHW_MCD) PicoCDBufferFree(); // save SRAM - if((currentConfig.EmuOpt & 1) && SRam.changed) { + if ((currentConfig.EmuOpt & EOPT_EN_SRAM) && SRam.changed) { /* FIXME: plat_status_msg_busy_first */ emu_state_cb("Writing SRAM/BRAM.."); - emu_SaveLoadGame(0, 1); + emu_save_load_game(0, 1); SRam.changed = 0; }