diff --git a/ps3/main.c b/ps3/main.c index dc7b0b0c17..9fc59bc64d 100644 --- a/ps3/main.c +++ b/ps3/main.c @@ -418,8 +418,8 @@ begin_shutdown: rarch_main_deinit(); input_ps3.free(NULL); - video_gl.stop(); + menu_free(); if(g_console.oskutil_handle.is_running) oskutil_unload(&g_console.oskutil_handle); diff --git a/ps3/menu.c b/ps3/menu.c index b239f81c88..327bb47741 100644 --- a/ps3/menu.c +++ b/ps3/menu.c @@ -2459,6 +2459,12 @@ void menu_init (void) filebrowser_new(&browser, g_console.default_rom_startup_dir, rarch_console_get_rom_ext()); } +void menu_free (void) +{ + filebrowser_free(&browser); + filebrowser_free(&tmpBrowser); +} + void menu_loop(void) { gl_t * gl = driver.video_data; diff --git a/ps3/menu.h b/ps3/menu.h index 5034605575..ebf7b3e02d 100644 --- a/ps3/menu.h +++ b/ps3/menu.h @@ -157,5 +157,6 @@ enum void menu_init (void); void menu_loop (void); +void menu_free (void); #endif /* MENU_H_ */