From 38ab8d183c914bc93d646fc0762549cd91e88778 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Sun, 24 May 2009 21:36:21 +0000 Subject: [PATCH] *Blackscreen fix part 2 lol (starting to piss me off) --- source/menu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/menu.cpp b/source/menu.cpp index fb55b45e..61dcd3ff 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -211,8 +211,9 @@ static void WindowCredits(void * ptr) txt[i] = new GuiText(LANGUAGE.Credits, 26, (GXColor){255, 255, 255, 255}); txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(0,12); i++; - - char SvnRev[10] = ""; sprintf(SvnRev, "r%s", SVN_REV); + + char SvnRev[10]; snprintf(SvnRev, 7, "Rev%s", SVN_REV); + txt[i] = new GuiText(SvnRev, 18, (GXColor){255, 255, 255, 255}); txt[i]->SetAlignment(ALIGN_RIGHT, ALIGN_TOP); txt[i]->SetPosition(0,y); i++; y+=34; @@ -4938,7 +4939,7 @@ static int MenuSettings() } else if (choice == 2) { - if (*(unsigned int*) 0x80001800) exit(0); + if (*((u32*) 0x80001800)) exit(0); // Channel Version SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0); } @@ -4953,7 +4954,6 @@ static int MenuSettings() break; } } - } HaltGui(); delete btnLogo;