From 41ec8b8fe815597957b3ab899522dddefb408538 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 18 Apr 2013 17:44:38 +0200 Subject: [PATCH] (PS3/PSP) Remove dead code --- frontend/platform/platform_ps3.c | 18 ------------------ frontend/platform/platform_psp.c | 21 --------------------- 2 files changed, 39 deletions(-) diff --git a/frontend/platform/platform_ps3.c b/frontend/platform/platform_ps3.c index 85d1973ac2..4d19f0a447 100644 --- a/frontend/platform/platform_ps3.c +++ b/frontend/platform/platform_ps3.c @@ -191,24 +191,6 @@ static void callback_sysutil_exit(uint64_t status, uint64_t param, void *userdat } #endif -#ifdef __PSL1GHT__ -void menu_init (void) -{ -} - -bool menu_iterate(void) -{ - strlcpy(g_extern.fullpath, "/dev_hdd0/game/SSNE10000/USRDIR/mm3.nes", sizeof(g_extern.fullpath)); - g_extern.lifecycle_mode_state |= (1ULL << MODE_LOAD_GAME); - - return false; -} - -void menu_free (void) -{ -} -#endif - static void get_environment_settings(int argc, char *argv[]) { int ret; diff --git a/frontend/platform/platform_psp.c b/frontend/platform/platform_psp.c index 770215f450..6fe86af6c5 100644 --- a/frontend/platform/platform_psp.c +++ b/frontend/platform/platform_psp.c @@ -88,27 +88,6 @@ static int setup_callback(void) return thread_id; } -void menu_init (void) {} - -bool menu_iterate(void) -{ - char path[256]; - snprintf(path, sizeof(path), "%s%s", default_paths.port_dir, "dkc.sfc"); - RARCH_LOG("game ROM: %s\n", path); - - strlcpy(g_extern.fullpath, path, sizeof(g_extern.fullpath)); - g_extern.lifecycle_mode_state |= (1ULL << MODE_LOAD_GAME); - - g_extern.lifecycle_mode_state &= ~(1ULL << MODE_MENU); - g_extern.lifecycle_mode_state |= (1ULL << MODE_INIT); - - return false; -} - -void menu_free (void) -{ -} - static void system_init(void) { //initialize debug screen