mirror of
https://github.com/FunKey-Project/picofe-irixxxx.git
synced 2026-05-03 03:19:38 +02:00
random fixes (root path and mmap svp tcache)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@714 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
@@ -318,8 +318,12 @@ void plat_video_menu_enter(int is_rom_loaded)
|
||||
}
|
||||
else
|
||||
{
|
||||
char buff[256];
|
||||
|
||||
// should really only happen once, on startup..
|
||||
readpng(g_screen_ptr, "skin/background.png", READPNG_BG);
|
||||
emu_make_path(buff, "skin/background.png", sizeof(buff));
|
||||
if (readpng(g_screen_ptr, buff, READPNG_BG) < 0)
|
||||
memset(g_screen_ptr, 0, 320*240*2);
|
||||
}
|
||||
|
||||
memcpy(menu_bg_buffer, g_screen_ptr, 320*240*2);
|
||||
|
||||
Reference in New Issue
Block a user