mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 18:47:09 +00:00
(PS3) Deallocate filebrowser code at shutdown
This commit is contained in:
parent
21a344e61b
commit
54273d94b1
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -157,5 +157,6 @@ enum
|
||||
|
||||
void menu_init (void);
|
||||
void menu_loop (void);
|
||||
void menu_free (void);
|
||||
|
||||
#endif /* MENU_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user