aboutsummaryrefslogtreecommitdiff
path: root/frontend/common/menu.c
diff options
context:
space:
mode:
authornotaz2010-12-25 21:29:45 +0200
committernotaz2010-12-25 21:29:53 +0200
commit4f3639fab62fa95f4bdc620b2e3500e717a0fcf3 (patch)
tree9c7942b833f2b6c39ec7afd44d10f1c3436b92fd /frontend/common/menu.c
parenta7ce1fc5856aa569f831dc3f41d4d812374e95b5 (diff)
downloadpcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.tar.gz
pcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.tar.bz2
pcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.zip
menu: add config save/load
Diffstat (limited to 'frontend/common/menu.c')
-rw-r--r--frontend/common/menu.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/frontend/common/menu.c b/frontend/common/menu.c
index d9717d4..f7085fa 100644
--- a/frontend/common/menu.c
+++ b/frontend/common/menu.c
@@ -341,26 +341,6 @@ static void menu_darken_bg(void *dst, void *src, int pixels, int darker)
}
}
-static void menu_enter(int is_rom_loaded)
-{
- if (is_rom_loaded)
- {
- // darken the active framebuffer
- menu_darken_bg(g_menubg_ptr, g_menubg_src_ptr, g_menuscreen_w * g_menuscreen_h, 1);
- }
- else
- {
- char buff[256];
-
- // should really only happen once, on startup..
- emu_make_path(buff, "skin/background.png", sizeof(buff));
- if (readpng(g_menubg_ptr, buff, READPNG_BG, g_menuscreen_w, g_menuscreen_h) < 0)
- memset(g_menubg_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2);
- }
-
- plat_video_menu_enter(is_rom_loaded);
-}
-
static int me_id2offset(const menu_entry *ent, menu_id id)
{
int i;