(360) Fixed memory freeing bug to do with XUI when exiting

program
This commit is contained in:
TwinAphex51224 2012-04-17 05:35:25 +02:00
parent 3868f42687
commit 3a99b0602e
3 changed files with 7 additions and 0 deletions

View File

@ -416,6 +416,7 @@ begin_shutdown:
if(path_file_exists(SYS_CONFIG_FILE))
save_settings();
menu_deinit();
xdk360_video_deinit();
ssnes_exec();

View File

@ -526,6 +526,11 @@ int menu_init (void)
return 0;
}
void menu_deinit (void)
{
app.Uninit();
}
void menu_loop(void)
{
g_console.menu_enable = true;

View File

@ -138,6 +138,7 @@ public:
};
int menu_init (void);
void menu_deinit (void);
void menu_loop (void);
extern CSSNES app;