mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
pandora: tripplebuffer fbdev out, refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@845 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
fbe111032e
commit
b188c2b6d0
17 changed files with 404 additions and 171 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue