mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 17:59:16 +01:00
*Some more memory clear before gamestart
This commit is contained in:
parent
1ffee5a484
commit
550b792db9
@ -179,9 +179,10 @@ GuiGameBrowser::~GuiGameBrowser()
|
||||
delete bgGamesEntry;
|
||||
|
||||
delete trigA;
|
||||
delete trigHeldA;
|
||||
delete btnSoundClick;
|
||||
delete btnSoundOver;
|
||||
|
||||
// delete optionBg;
|
||||
for(int i=0; i<pagesize; i++)
|
||||
{
|
||||
delete gameTxt[i];
|
||||
|
@ -158,8 +158,14 @@ GuiGameCarousel::~GuiGameCarousel()
|
||||
delete btnRight;
|
||||
delete btnLeft;
|
||||
|
||||
delete trigA;
|
||||
delete btnSoundClick;
|
||||
delete trigA;
|
||||
delete trigHeldA;
|
||||
delete trigL;
|
||||
delete trigR;
|
||||
delete trigPlus;
|
||||
delete trigMinus;
|
||||
delete btnSoundClick;
|
||||
delete btnSoundOver;
|
||||
|
||||
for(int i=0; i<pagesize; i++) {
|
||||
delete game[i];
|
||||
|
@ -31,7 +31,6 @@ class GuiGameGrid : public GuiElement
|
||||
|
||||
int * gameIndex;
|
||||
GuiButton ** game;
|
||||
GuiText ** gameTxt;
|
||||
|
||||
GuiImage ** coverImg;
|
||||
GuiImageData ** cover;
|
||||
@ -47,6 +46,7 @@ class GuiGameGrid : public GuiElement
|
||||
|
||||
GuiSound * btnSoundOver;
|
||||
GuiSound * btnSoundClick;
|
||||
|
||||
GuiTrigger * trigA;
|
||||
GuiTrigger * trigL;
|
||||
GuiTrigger * trigR;
|
||||
|
Loading…
Reference in New Issue
Block a user