Change our meta.xml so it fix on the homebrew prompt better.

raise the coder to char[100] because we have a shitload of names on there

add param int t=0 to the get entries function to force getting all games and ignore settings and parental control

fix bug that code dumped if you didn't have the database.txt for the channel names
This commit is contained in:
giantpune 2009-07-27 09:43:48 +00:00
parent 84e3d18533
commit fab8e625ad
30 changed files with 92 additions and 106 deletions

View File

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="1">
<name>USB Loader GX</name>
<coder>USB Loader GX Team</coder>
<coder>dimok nIxx cyrex giantpune Hungyip84 NeoRame WiiShizzza ardi</coder>
<version>1.0</version>
<release_date>20090118030000</release_date>
<short_description>Loads games from USB-devices</short_description>
<long_description>USB Loader GX is a libwiigui based USB iso loader with a wii-like GUI. You can install games to your HDDs and boot them with shorter loading times. The interactive GUI is completely controllable with WiiMote, Classic Controller or GC Controller. Features are automatic widescreen detection, coverdownload, parental control, theme support and many more.
Coders: dimok/nIxx/cyrex/giantpune/Hungyip84/NeoRame/WiiShizzza/ardi.</long_description>
<long_description>USB Loader GX is a libwiigui based USB iso loader with a wii-like GUI. You can install games to your HDDs and boot them with shorter loading times. The interactive GUI is completely controllable with WiiMote, Classic Controller or GC Controller. Features are automatic widescreen detection, coverdownload, parental control, theme support and many more.</long_description>
</app>

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: David Jelinek (djelinek@hotmail.com) \n"
"Language-Team: Last version on http://startgolf.tym.cz/czech.lang \n"
@ -556,9 +556,6 @@ msgstr "Zmena jazyka:"
msgid "Languagepath changed."
msgstr "Cesta k jazykum zmenena"
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "Vlevo"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "Skift sprog:"
msgid "Languagepath changed."
msgstr "Sti til sprogfiler ændret."
msgid "Leaving so you can restart..."
msgstr "Afslutter, så du kan genstarte..."
msgid "Left"
msgstr "Venstre"
@ -1047,6 +1044,9 @@ msgstr "der var en fejl"
msgid "titles.txt Path"
msgstr "Sti til titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Afslutter, så du kan genstarte..."
#~ msgid "Uninstall"
#~ msgstr "Afinstallér"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: tj_cool\n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "Taal wijzigen:"
msgid "Languagepath changed."
msgstr "Locatie taal gewijzigd."
msgid "Leaving so you can restart..."
msgstr "Afsluiten om te herstarten..."
msgid "Left"
msgstr "Links"
@ -1047,6 +1044,9 @@ msgstr "er is een fout opgetreden"
msgid "titles.txt Path"
msgstr "Locatie titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Afsluiten om te herstarten..."
#~ msgid "Incomming file %0.2fKB"
#~ msgstr "Binnenkomend bestand %0.2fKB"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr ""
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr ""
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "Vasen"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Kin8\n"
"Language-Team: Badablek, Amour, ikya, OuahOuah, dj_skual & Kin8\n"
@ -556,9 +556,6 @@ msgstr "Changement Langue:"
msgid "Languagepath changed."
msgstr "Dossier Langue changé"
msgid "Leaving so you can restart..."
msgstr "Redémarrage nécessaire."
msgid "Left"
msgstr "Gauche"
@ -1047,6 +1044,9 @@ msgstr "une erreur s'est produite"
msgid "titles.txt Path"
msgstr "Localisation titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Redémarrage nécessaire."
#~ msgid "Incomming file %0.2fKB"
#~ msgstr "Fichier entrant %0.2fKB"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr "Sprachenpfad geändert."
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "Links"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Tusk\n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "Nyelv választás:"
msgid "Languagepath changed."
msgstr "Nyelvek útvonala megváltozott."
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "Balra"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-24 11:00+0200\n"
"Last-Translator: Cambo \n"
"Language-Team: FoxeJoe & Cambo\n"
@ -556,9 +556,6 @@ msgstr "Modifica Lingua:"
msgid "Languagepath changed."
msgstr "File Lingua modificato"
msgid "Leaving so you can restart..."
msgstr "Sto uscendo per permettere il riavvio..."
msgid "Left"
msgstr "Sinistra"
@ -1047,6 +1044,9 @@ msgstr "c'è stato un errore"
msgid "titles.txt Path"
msgstr "Percorso titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Sto uscendo per permettere il riavvio..."
#~ msgid "Incomming file %0.2fKB"
#~ msgstr "Dimensione file %0.2fKB"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr "言語PATHを変更しました"
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "左"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr ""
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "왼쪽"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "Endre språk"
msgid "Languagepath changed."
msgstr "Språksti endret."
msgid "Leaving so you can restart..."
msgstr "Lukker så du kan restarte..."
msgid "Left"
msgstr "Venstre"
@ -1047,6 +1044,9 @@ msgstr "en feil har oppstått"
msgid "titles.txt Path"
msgstr "Titles.txt sti"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Lukker så du kan restarte..."
#~ msgid "Uninstall"
#~ msgstr "Avinstallér"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "Zmien jezyk"
msgid "Languagepath changed."
msgstr "Sciezka do plików jezykowych zmieniona"
msgid "Leaving so you can restart..."
msgstr "Przygotowanie do restartu..."
msgid "Left"
msgstr "Lewo"
@ -1047,5 +1044,8 @@ msgstr "blad"
msgid "titles.txt Path"
msgstr "Sciezka titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Przygotowanie do restartu..."
#~ msgid "Uninstall"
#~ msgstr "Odinstaluj"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr "Local Idioma alterado"
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "Esquerda"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-20 16:40\n"
"Last-Translator: Sky8000\n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "Alteração de idioma:"
msgid "Languagepath changed."
msgstr "Caminho para o ficheiro de Idioma alterado."
msgid "Leaving so you can restart..."
msgstr "Saindo para que possas reiniciar..."
msgid "Left"
msgstr "Esquerda"
@ -1047,6 +1044,9 @@ msgstr "ocorreu um erro"
msgid "titles.txt Path"
msgstr "Pasta titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Saindo para que possas reiniciar..."
#~ msgid "Incomming file %0.2fKB"
#~ msgstr "A receber ficheiro %0.2fKB"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Kir\n"
"Language-Team: Kir\n"
@ -556,9 +556,6 @@ msgstr "Смена языка:"
msgid "Languagepath changed."
msgstr "Путь к языкам изменен"
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "Налево"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr ""
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "左"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "Cambio de Idioma:"
msgid "Languagepath changed."
msgstr "Ruta de idioma cambiada."
msgid "Leaving so you can restart..."
msgstr "Abandonando asi es que puedes reiniciar..."
msgid "Left"
msgstr "Izquierda"
@ -1047,6 +1044,9 @@ msgstr "hubo un error"
msgid "titles.txt Path"
msgstr "Ruta Titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Abandonando asi es que puedes reiniciar..."
#~ msgid "Incomming file %0.2fKB"
#~ msgstr "Archivo entrante %0.2fKB"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-24 16:45+0200\n"
"Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n"
@ -556,9 +556,6 @@ msgstr "Språkbyte:"
msgid "Languagepath changed."
msgstr "Sökväg till språk ändrad"
msgid "Leaving so you can restart..."
msgstr "Lämnar så du kan starta om..."
msgid "Left"
msgstr "Vänster"
@ -1047,6 +1044,9 @@ msgstr "ett fel uppstod"
msgid "titles.txt Path"
msgstr "sökväg till titles.txt"
#~ msgid "Leaving so you can restart..."
#~ msgstr "Lämnar så du kan starta om..."
#~ msgid "Incomming file %0.2fKB"
#~ msgstr "Inkommande fil %0.2fKB"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr "變更語言為:"
msgid "Languagepath changed."
msgstr "語言路徑已變更"
msgid "Leaving so you can restart..."
msgstr "正在退出並請重新啟動..."
msgid "Left"
msgstr "左"
@ -1047,6 +1044,9 @@ msgstr "發生錯誤"
msgid "titles.txt Path"
msgstr "Title檔案路徑"
#~ msgid "Leaving so you can restart..."
#~ msgstr "正在退出並請重新啟動..."
#~ msgid "Do you want to boot?"
#~ msgstr "啟動?"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-26 19:54-0400\n"
"POT-Creation-Date: 2009-07-27 05:27-0400\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -556,9 +556,6 @@ msgstr ""
msgid "Languagepath changed."
msgstr ""
msgid "Leaving so you can restart..."
msgstr ""
msgid "Left"
msgstr "Sol"

View File

@ -31,7 +31,7 @@ class HomebrewXML
void SetName(char * path) { strncpy(name, path, sizeof(name)); }
protected:
char name[50];
char coder[50];
char coder[100];
char version[30];
char releasedate[30];
char shortdescription[150];

View File

@ -1275,7 +1275,7 @@ int MenuDiscList()
//re-evaluate header now in case they changed games while on the game prompt
header = &gameList[gameSelected];
int settret = GameSettings(header);
menu = MENU_DISCLIST; // refresh titles (needed if the language setting has changed)
menu = MENU_DISCLIST; // refresh titles (needed if the language setting has changed)
HaltGui();
if (Settings.gameDisplay==list) mainWindow->Append(gameBrowser);
else if (Settings.gameDisplay==grid) mainWindow->Append(gameGrid);
@ -1726,7 +1726,7 @@ static int MenuCheck()
}
//Spieleliste laden
__Menu_GetEntries();
__Menu_GetEntries(0);
if(menu == MENU_NONE)
menu = MENU_DISCLIST;

View File

@ -29,6 +29,9 @@
#include "unzip/unzip.h"
#include "zlib.h"
#include "svnrev.h"
#include "audio.h"
#include "xml/xml.h"
#include "../wad/title.h"
/*** Variables that are also used extern ***/
@ -1655,6 +1658,8 @@ FormatingPartition(const char *title, partitionEntry *entry)
***************************************************************************/
void SearchMissingImages(int choice2)
{
//make sure that all games are added to the gamelist
__Menu_GetEntries(1);
GuiWindow promptWindow(472,320);
promptWindow.SetAlignment(ALIGN_CENTRE, ALIGN_MIDDLE);
promptWindow.SetPosition(0, -10);
@ -1727,7 +1732,7 @@ void SearchMissingImages(int choice2)
break;
}
}
if (IsNetworkInit()) {
msgTxt.SetTextf("IP: %s", GetNetworkIP());
cntMissFiles = 0;
@ -1777,6 +1782,8 @@ void SearchMissingImages(int choice2)
HaltGui();
mainWindow->Remove(&promptWindow);
mainWindow->SetState(STATE_DEFAULT);
//change the gamelist backto how it was before this function
__Menu_GetEntries();
ResumeGui();
return;
@ -2349,6 +2356,7 @@ int ProgressUpdateWindow()
//make the URL to get XML based on our games
char XMLurl[2040];
char filename[10];
__Menu_GetEntries(1);
snprintf(XMLurl,sizeof(XMLurl),"http://wiitdb.com/wiitdb.zip?LANG=%s?ID=",sysLanguage);
unsigned int i;
for (i = 0; i < gameCnt ; i++) {
@ -2360,7 +2368,7 @@ int ProgressUpdateWindow()
strncat(XMLurl, ",",1);
}
}
__Menu_GetEntries();
if(IsNetworkInit() && ret >= 0) {
int newrev = CheckUpdate();
@ -2612,6 +2620,7 @@ int ProgressUpdateWindow()
//make the URL to get XML based on our games
char XMLurl[2040];
char filename[10];
__Menu_GetEntries(1);
snprintf(XMLurl,sizeof(XMLurl),"http://wiitdb.com/wiitdb.zip?LANG=%s?ID=",sysLanguage);
unsigned int i;
for (i = 0; i < gameCnt ; i++) {
@ -2623,7 +2632,7 @@ int ProgressUpdateWindow()
strncat(XMLurl, ",",1);
}
}
__Menu_GetEntries();
char dolpath[150];
// char dolpathsuccess[150];//use coverspath as a folder for the update wad so we dont make a new folder and have to delete it
snprintf(dolpath, sizeof(dolpath), "%sULNR.wad", Settings.covers_path);
@ -2770,8 +2779,13 @@ int ProgressUpdateWindow()
if (shit)
WindowPrompt(tr("Shit") , tr("there was an error"), tr("OK"));
else
WindowPrompt(tr("Successfully Updated") , tr("Leaving so you can restart..."), tr("OK"));
Sys_BackToLoader();
WindowPrompt(tr("Successfully Updated") , tr("Restarting..."), 0,0,0,0,150);
CloseXMLDatabase();
ExitGUIThreads();
ShutdownAudio();
StopGX();
WII_Initialize();
WII_LaunchTitle(TITLE_ID(0x00010001,0x554c4e52));
}
// promptWindow.SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_OUT, 50);

View File

@ -76,7 +76,7 @@ int TitleBrowser(u32 type)
while (i < num_titles){
//start from the beginning of the file each loop
rewind(f);
if (f)rewind(f);
char name[50];
char text[15];
strcpy(name,"");//make sure name is empty
@ -114,14 +114,12 @@ int TitleBrowser(u32 type)
}
//set the text to the option browser
options3.SetName(i, "%s",text);
options3.SetValue(i, "%s",name);
//options3.SetValue(i, "%s (%08x)",text,titles[i]);
//options3.SetValue(i, "%s",name);
options3.SetValue(i, " (%08x)",titles[i]);
//move on to the next title
i++;
}
bool exit = false;
GuiSound btnSoundOver(button_over_pcm, button_over_pcm_size, SOUND_PCM, Settings.sfxvolume);
@ -198,7 +196,7 @@ int TitleBrowser(u32 type)
char name[50];
char text[15];
rewind(f);
if (f)rewind(f);
strcpy(name,"");//make sure name is empty

View File

@ -889,6 +889,8 @@ bool save_XML_URL()// save xml url as as txt file for people without wifi
sleep(1);
return false;
}
//make sure that all games are added to the gamelist
__Menu_GetEntries(1);
char XMLurl[2040];
char filename[10];
@ -919,6 +921,8 @@ bool save_XML_URL()// save xml url as as txt file for people without wifi
fprintf(f, "%s\n\n\n ", XMLurl);
fclose(f);
__Menu_GetEntries();
return true;
}

View File

@ -1,4 +1,4 @@
#define SVN_REV "653:654M"
#define SVN_REV "653:655M"
const char *GetRev()
{

View File

@ -58,7 +58,7 @@ s32 __Menu_EntryCmpCount(const void *a, const void *b)
* Get Gamelist
***************************************************************************/
int __Menu_GetEntries(void)
int __Menu_GetEntries(int t)
{
struct discHdr *buffer = NULL;
struct discHdr *buffer2 = NULL;
@ -91,7 +91,7 @@ int __Menu_GetEntries(void)
}
/* Filters */
if (Settings.fave) {
if (Settings.fave && t==0) {
u32 cnt2 = 0;
for (u32 i = 0; i < cnt; i++)
@ -124,7 +124,7 @@ int __Menu_GetEntries(void)
cnt = cnt2;
}
if (Settings.parentalcontrol && !Settings.godmode) {
if (Settings.parentalcontrol && !Settings.godmode && t==0) {
u32 cnt2 = 0;
for (u32 i = 0; i < cnt; i++)

View File

@ -8,6 +8,10 @@
#ifndef _GETENTRIES_H_
#define _GETENTRIES_H_
int __Menu_GetEntries(void);
//! param t
//! make this 1 if you want the function to ignore the rules
//! (settings and parental control) when making the game list.
//!
int __Menu_GetEntries(int t=0);
#endif