mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
random minor fixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@892 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
6bc3d94d1e
commit
c4046e6e06
2 changed files with 6 additions and 7 deletions
|
@ -179,7 +179,7 @@ void plat_video_menu_enter(int is_rom_loaded)
|
||||||
void plat_video_menu_begin(void)
|
void plat_video_menu_begin(void)
|
||||||
{
|
{
|
||||||
memcpy32(g_screen_ptr, g_menubg_ptr, g_screen_width * g_screen_height * 2 / 4);
|
memcpy32(g_screen_ptr, g_menubg_ptr, g_screen_width * g_screen_height * 2 / 4);
|
||||||
g_menubg_ptr = g_screen_ptr;
|
g_menuscreen_ptr = g_screen_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void plat_video_menu_end(void)
|
void plat_video_menu_end(void)
|
||||||
|
|
|
@ -115,12 +115,10 @@ static int emuscan(unsigned int num)
|
||||||
|
|
||||||
void pemu_finalize_frame(const char *fps, const char *notice)
|
void pemu_finalize_frame(const char *fps, const char *notice)
|
||||||
{
|
{
|
||||||
if (notice || (currentConfig.EmuOpt & EOPT_SHOW_FPS)) {
|
if (notice && notice[0])
|
||||||
if (notice)
|
|
||||||
osd_text(2, g_osd_y, notice);
|
osd_text(2, g_osd_y, notice);
|
||||||
if (currentConfig.EmuOpt & EOPT_SHOW_FPS)
|
if (fps && fps[0] && (currentConfig.EmuOpt & EOPT_SHOW_FPS))
|
||||||
osd_text(g_osd_fps_x, g_osd_y, fps);
|
osd_text(g_osd_fps_x, g_osd_y, fps);
|
||||||
}
|
|
||||||
if ((PicoAHW & PAHW_MCD) && (currentConfig.EmuOpt & EOPT_EN_CD_LEDS))
|
if ((PicoAHW & PAHW_MCD) && (currentConfig.EmuOpt & EOPT_EN_CD_LEDS))
|
||||||
draw_cd_leds();
|
draw_cd_leds();
|
||||||
}
|
}
|
||||||
|
@ -426,6 +424,7 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols)
|
||||||
pnd_setup_layer(1, g_layer_x, g_layer_y, g_layer_w, g_layer_h);
|
pnd_setup_layer(1, g_layer_x, g_layer_y, g_layer_w, g_layer_h);
|
||||||
vout_fbdev_resize(layer_fb, fb_w, fb_h, fb_left, fb_right, fb_top, fb_bottom, 0);
|
vout_fbdev_resize(layer_fb, fb_w, fb_h, fb_left, fb_right, fb_top, fb_bottom, 0);
|
||||||
vout_fbdev_clear(layer_fb);
|
vout_fbdev_clear(layer_fb);
|
||||||
|
plat_video_flip();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void make_bg(void)
|
static void make_bg(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue