X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Femu.c;h=2994fdbf0e07ef71a5f55970abb381239aed9ddb;hb=b188c2b6d0448a9c328a9dcae5ba5c8c8b5273f3;hp=b1b314eeade50a8b88832a73a0acd3e621887f0e;hpb=fbe111032e8092d5e031bf3a6f0cee6b9a20333e;p=libpicofe.git diff --git a/gp2x/emu.c b/gp2x/emu.c index b1b314e..2994fdb 100644 --- a/gp2x/emu.c +++ b/gp2x/emu.c @@ -302,7 +302,7 @@ static int make_local_pal_sms(int fast_mode) return 0x40; } -void pemu_update_display(const char *fps, const char *notice) +void pemu_finalize_frame(const char *fps, const char *notice) { int emu_opt = currentConfig.EmuOpt; int ret; @@ -344,7 +344,10 @@ void pemu_update_display(const char *fps, const char *notice) draw_cd_leds(); if (PicoAHW & PAHW_PICO) draw_pico_ptr(); +} +void plat_video_flip(void) +{ gp2x_video_flip(); } @@ -411,7 +414,8 @@ void plat_status_msg_clear(void) void plat_status_msg_busy_next(const char *msg) { plat_status_msg_clear(); - pemu_update_display("", msg); + pemu_finalize_frame("", msg); + plat_video_flip(); emu_status_msg(""); /* assumption: msg_busy_next gets called only when