(PS3) Deallocate filebrowser code at shutdown

This commit is contained in:
Twinaphex 2012-06-18 06:06:49 +02:00
parent 21a344e61b
commit 54273d94b1
3 changed files with 8 additions and 1 deletions

View File

@ -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);

View File

@ -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;

View File

@ -157,5 +157,6 @@ enum
void menu_init (void);
void menu_loop (void);
void menu_free (void);
#endif /* MENU_H_ */