(PS3) Deallocate filebrowser code at shutdown
This commit is contained in:
parent
21a344e61b
commit
54273d94b1
|
@ -418,8 +418,8 @@ begin_shutdown:
|
||||||
rarch_main_deinit();
|
rarch_main_deinit();
|
||||||
|
|
||||||
input_ps3.free(NULL);
|
input_ps3.free(NULL);
|
||||||
|
|
||||||
video_gl.stop();
|
video_gl.stop();
|
||||||
|
menu_free();
|
||||||
|
|
||||||
if(g_console.oskutil_handle.is_running)
|
if(g_console.oskutil_handle.is_running)
|
||||||
oskutil_unload(&g_console.oskutil_handle);
|
oskutil_unload(&g_console.oskutil_handle);
|
||||||
|
|
|
@ -2459,6 +2459,12 @@ void menu_init (void)
|
||||||
filebrowser_new(&browser, g_console.default_rom_startup_dir, rarch_console_get_rom_ext());
|
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)
|
void menu_loop(void)
|
||||||
{
|
{
|
||||||
gl_t * gl = driver.video_data;
|
gl_t * gl = driver.video_data;
|
||||||
|
|
|
@ -157,5 +157,6 @@ enum
|
||||||
|
|
||||||
void menu_init (void);
|
void menu_init (void);
|
||||||
void menu_loop (void);
|
void menu_loop (void);
|
||||||
|
void menu_free (void);
|
||||||
|
|
||||||
#endif /* MENU_H_ */
|
#endif /* MENU_H_ */
|
||||||
|
|
Loading…
Reference in New Issue