From cc51969c6af81880cc0fe5406bafbf180dd4b48c Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Sun, 24 May 2009 18:50:01 +0000 Subject: [PATCH] *DefaultButton is now deleting the game from GameSettings list. --- source/menu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/menu.cpp b/source/menu.cpp index 6cc1ddc4..000d2b3c 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -1,4 +1,4 @@ -/**************************************************************************** +4/**************************************************************************** * libwiigui Template * Tantric 2009 * @@ -3206,7 +3206,7 @@ static int MenuDiscList() } else if (choice == 2) { - if (*(unsigned int*) 0x80001800) exit(0); + if (*((u32*) 0x80001800)) exit(0); // Channel Version SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0); } else { @@ -5193,6 +5193,7 @@ int GameSettings(struct discHdr * header) iosChoice = i249; } parentalcontrolChoice = 0; + CFG_forget_game_opt(header->id); } break; }