mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
random fixes (root path and mmap svp tcache)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@714 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
093b8a420e
commit
27701801c1
7 changed files with 58 additions and 43 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue