(360) Add filebrowser free to menu_deinit (now renamed menu_free)

This commit is contained in:
TwinAphex51224 2012-06-18 06:22:26 +02:00
parent 54273d94b1
commit e760807d47
3 changed files with 5 additions and 3 deletions

View File

@ -320,7 +320,7 @@ begin_shutdown:
if(path_file_exists(SYS_CONFIG_FILE)) if(path_file_exists(SYS_CONFIG_FILE))
rarch_config_save(SYS_CONFIG_FILE); rarch_config_save(SYS_CONFIG_FILE);
menu_deinit(); menu_free();
video_xdk360.stop(); video_xdk360.stop();
input_xdk360.free(NULL); input_xdk360.free(NULL);
rarch_exec(); rarch_exec();

View File

@ -839,8 +839,10 @@ int menu_init (void)
return 0; return 0;
} }
void menu_deinit (void) void menu_free (void)
{ {
filebrowser_free(&browser);
filebrowser_free(&tmp_browser);
app.Uninit(); app.Uninit();
} }

View File

@ -215,7 +215,7 @@ class CRetroArchControls: public CXuiSceneImpl
}; };
int menu_init (void); int menu_init (void);
void menu_deinit (void); void menu_free (void);
void menu_loop (void); void menu_loop (void);
extern CRetroArch app; extern CRetroArch app;