diff --git a/source/libwiigui/gui_text.cpp b/source/libwiigui/gui_text.cpp index 619cba3c..c9c3e171 100644 --- a/source/libwiigui/gui_text.cpp +++ b/source/libwiigui/gui_text.cpp @@ -352,7 +352,8 @@ void GuiText::Draw() i=0; for(j=firstLine-1; j < numLines+firstLine-1; j++) { - if (jdrawText(this->GetLeft(), this->GetTop()+voffset+i*lineheight, tmptext[j], c, style); i++; } diff --git a/source/prompts/DiscBrowser.cpp b/source/prompts/DiscBrowser.cpp index f94e53ec..5b4484fb 100644 --- a/source/prompts/DiscBrowser.cpp +++ b/source/prompts/DiscBrowser.cpp @@ -275,13 +275,21 @@ int autoSelectDol(const char *id) if (strcmp(id,"R5TP69") == 0) return 1493; + if (strcmp(id,"R9OP69") == 0) return 1991; + if (strcmp(id,"R9OE69") == 0) return 1973; + + if (strcmp(id,"RVUP8P") == 0) return 16426; + if (strcmp(id,"RVUE8P") == 0) return 16405; + + if (strcmp(id,"RJ8P64") == 0) return 8; + if (strcmp(id,"RHDP8P") == 0) return 149; - - /* Grand Slam R5TP69 1493 Madden NFL08 RNFP69 1079 + Atlantis"Indianer Jones" RJ8P64 8 + Fifa08 RF8P69 463 Fifa08 RF8X69 464 Wii Sports Resort RZTP01 952 diff --git a/source/prompts/gameinfo.cpp b/source/prompts/gameinfo.cpp index f8336bee..dc176140 100644 --- a/source/prompts/gameinfo.cpp +++ b/source/prompts/gameinfo.cpp @@ -723,22 +723,23 @@ int showGameInfo(char *ID) } else if ((upBtn.GetState()==STATE_CLICKED||upBtn.GetState()==STATE_HELD) && page==2) { - int l=synopsisTxt->GetFirstLine()>1?synopsisTxt->GetFirstLine()-1:1; - synopsisTxt->SetFirstLine(l); + //int l=synopsisTxt->GetFirstLine()-1; + if (synopsisTxt->GetFirstLine()>1) + synopsisTxt->SetFirstLine(synopsisTxt->GetFirstLine()-1); usleep(60000); if (!((ButtonsHold() & WPAD_BUTTON_UP)||(ButtonsHold() & PAD_BUTTON_UP))) upBtn.ResetState(); } else if ((dnBtn.GetState()==STATE_CLICKED||dnBtn.GetState()==STATE_HELD) && page==2 &&synopsisTxt->GetTotalLines()>pagesize - &&synopsisTxt->GetFirstLine()GetTotalLines()-pagesize) + &&synopsisTxt->GetFirstLine()-1GetTotalLines()-pagesize) { int l=0; - if(synopsisTxt->GetTotalLines()>pagesize) + //if(synopsisTxt->GetTotalLines()>pagesize) l=synopsisTxt->GetFirstLine()+1; - if (l>(synopsisTxt->GetTotalLines()+1)-pagesize) - l=(synopsisTxt->GetTotalLines()+1)-pagesize; + //if (l>(synopsisTxt->GetTotalLines()+1)-pagesize) + //l=(synopsisTxt->GetTotalLines()+1)-pagesize; synopsisTxt->SetFirstLine(l); usleep(60000);