mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-22 11:19:17 +01:00
*Fixed use of mem2 memory. When MEM1 run out it freezes in libogc :\. Preventing it from running out completely now. (Thanks to NJ7 for all the tests he ran)
*Improved memory usage on category xml creation. Thanks to NJ7 for all the tests he ran here too) *Changed TinXML to not throw an exception on every allocation fail but to return a 0 pointer *Fixed crash with categories and disabled "Titles from WiiTDB" *Compilation fix (forgot to remove some xml.h) *little fix in themes xml downloader (thx dj_skual)
This commit is contained in:
parent
53574d6bc5
commit
cf21f13f39
@ -2,8 +2,8 @@
|
||||
<app version="1">
|
||||
<name> USB Loader GX</name>
|
||||
<coder>USB Loader GX Team</coder>
|
||||
<version>2.1 r1096</version>
|
||||
<release_date>201106241934</release_date>
|
||||
<version>2.1 r1097</version>
|
||||
<release_date>201106251948</release_date>
|
||||
<no_ios_reload/>
|
||||
<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.
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: David Jelinek (djelinek@hotmail.com) e->e,r->r,u->u, c->c \n"
|
||||
"Language-Team: r1056 - last version on http://djelinek.sweb.cz/_USBLoderGX/czech.lang \n"
|
||||
@ -768,6 +768,9 @@ msgstr "Název hry [IdHry]"
|
||||
msgid "Games"
|
||||
msgstr "Hry"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "Zánr:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Príchozí soubor %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Špatné heslo"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: Fox888[dk]\n"
|
||||
"Language-Team: [dk]\n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "Spil"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Henter fil %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Forkert password"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2011-06-20 07:25+0100\n"
|
||||
"Last-Translator: glowy\n"
|
||||
"Language-Team: tj_cool, glowy\n"
|
||||
@ -768,6 +768,9 @@ msgstr "Spelnaam [SPELID]"
|
||||
msgid "Games"
|
||||
msgstr "Spellen"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr "Importeer Categorieën"
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr "Importeren succesvol afgerond"
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Binnenkomend bestand %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr "Wiinnertag Pad"
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr "Wiinnertag vereist dat automatisch netwerk verbinden bij applicatie start aan staat. Wil je dit nu aanzetten?"
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Fout wachtwoord"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr ""
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr ""
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr ""
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: c64rmx\n"
|
||||
"Language-Team: \n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "Pelejä"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr ""
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Väärä salasana"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: Kin8\n"
|
||||
"Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n"
|
||||
@ -768,6 +768,9 @@ msgstr "NomJeu [IDJEU]"
|
||||
msgid "Games"
|
||||
msgstr "Jeux"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr "Importer Catégories"
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr "Catégories importées avec succès."
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Fichier entrant %0.2fKo"
|
||||
@ -1544,6 +1550,9 @@ msgstr "Dossier Wiinnertag"
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr "Wiinnertag nécessite une connexion automatique au réseau au lancement de l'application. Voulez-vous l'activer ?"
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Mot de passe incorrect"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2010-07-03 17:35-0800\n"
|
||||
"Last-Translator: TheRealVisitor\n"
|
||||
"Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n"
|
||||
@ -768,6 +768,9 @@ msgstr "Spielname [SPIELID]"
|
||||
msgid "Games"
|
||||
msgstr "Spiele"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "Genre:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr "Importiere Kategorien"
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr "Import erfolgreich."
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Eingehende Datei %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr "Wiinertag Pfad"
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr "Wiinnertag braucht eine aktivierte Netzwerkverbindung beim Start der Anwendung. Soll diese jetzt aktiviert werden?"
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Falsches Passwort"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-12-29 11:05+0100\n"
|
||||
"Last-Translator: Springdale\n"
|
||||
"Language-Team: Tusk, Springdale\n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "Játékok"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Bejövõ fájl %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Hibás Jelszó"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2011-03-10 21:00+0200\n"
|
||||
"Last-Translator: Cambo \n"
|
||||
"Language-Team: Cambo\n"
|
||||
@ -768,6 +768,9 @@ msgstr "Nomegioco [IDGIOCO]"
|
||||
msgid "Games"
|
||||
msgstr "Giochi"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "Genere:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Dimensione file %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Password Errata"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: hosigumayuugi\n"
|
||||
"Language-Team: hosigumayuugi, papa, ichiroling\n"
|
||||
@ -768,6 +768,9 @@ msgstr "ゲーム名 [ゲームID]"
|
||||
msgid "Games"
|
||||
msgstr "ゲーム総数"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "ジャンル:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr "カテゴリをインポート"
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr "インポートに成功しました"
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "ファイルを受信中 %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr "Wiinnertag.xmlのパス"
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr "Wiinnertagは自動ネット接続が有効になっている必要が有ります。有効にしますか?"
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "暗証番号が違います"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: nextos@korea.com\n"
|
||||
"Language-Team: \n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "게임"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "화일 수신중 %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "잘못된 비밀번호"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: raschi\n"
|
||||
"Language-Team: raschi\n"
|
||||
@ -768,6 +768,9 @@ msgstr "Spillnavn [SPILLID]"
|
||||
msgid "Games"
|
||||
msgstr "Spill"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "Sjanger:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Laster ned fil %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Feil passord"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
|
||||
"Language-Team: \n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "Liczba gier"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Przychodzacy plik %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Bledne haslo"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-23 18:52+0200\n"
|
||||
"Last-Translator: aniemotion\n"
|
||||
"Language-Team: boto12, aniemotion\n"
|
||||
@ -768,6 +768,9 @@ msgstr "Nome do Jogo [GAMEID]"
|
||||
msgid "Games"
|
||||
msgstr "Jogos"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Recebendo arquivo %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Password Incorreto"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2011-06-14 00:00-0000\n"
|
||||
"Last-Translator: pplucky <pplucky@gmail.com>\n"
|
||||
"Language-Team: Sky8000, pplucky\n"
|
||||
@ -768,6 +768,9 @@ msgstr "NomeJogo [IDJOGO]"
|
||||
msgid "Games"
|
||||
msgstr "Jogos"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "Tipo:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr "Importar Categorias"
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr "Operação de importação completada com sucesso."
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "A receber ficheiro %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr "Caminho Wiinnertag"
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr "Wiinnertag necessita ligação automática à rede no arranque da aplicação. Quer habilitar agora?"
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Password Incorrecta"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: nikolai_ca\n"
|
||||
"Language-Team: Kir, alendit, nikolai_ca\n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "Игры"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Входящий файл размером в %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Неверный пароль"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: knife.hu kavid emul8ion\n"
|
||||
"Language-Team: kavid\n"
|
||||
@ -768,6 +768,9 @@ msgstr "游戏名[游戏ID]"
|
||||
msgid "Games"
|
||||
msgstr "游戏"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "类型:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "正在接收文件 %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "密码错误"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: SirPalax\n"
|
||||
"Language-Team: Penn, SirPalax\n"
|
||||
@ -768,6 +768,9 @@ msgstr "NombreDelJuego [IDdelJuego]"
|
||||
msgid "Games"
|
||||
msgstr "Juegos"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Archivo recibido %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Contraseña incorrecta"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2010-01-19 17:39+0200\n"
|
||||
"Last-Translator: Katsurou\n"
|
||||
"Language-Team: Katsurou, pirateX\n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "Spel"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Inkommande fil %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Fel Lösenord"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2010-02-15 21:00+0800\n"
|
||||
"Last-Translator: Jane.H\n"
|
||||
"Language-Team: kyogc, Miller, Mika Li, Jane.H\n"
|
||||
@ -768,6 +768,9 @@ msgstr "遊戲名稱 [GAMEID]"
|
||||
msgid "Games"
|
||||
msgstr "遊戲數量"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr "類型:"
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "正在接收檔案 %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "密碼錯誤"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: Nitro_subzero \n"
|
||||
"Language-Team: Nitro_subzero\n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "เกมส์"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "ดาวน์โหลดไฟล์ %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "รหัสผ่านผิดพลาด"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-06-25 21:43+0200\n"
|
||||
"POT-Creation-Date: 2011-06-26 23:33+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: omercigingelini\n"
|
||||
"Language-Team: omercigingelini\n"
|
||||
@ -768,6 +768,9 @@ msgstr ""
|
||||
msgid "Games"
|
||||
msgstr "Oyunlar"
|
||||
|
||||
msgid "Generating GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Genre:"
|
||||
msgstr ""
|
||||
|
||||
@ -807,6 +810,9 @@ msgstr ""
|
||||
msgid "Import operation successfully completed."
|
||||
msgstr ""
|
||||
|
||||
msgid "Importing categories"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Incoming file %0.2fKB"
|
||||
msgstr "Gelen dosya %0.2fKB"
|
||||
@ -1544,6 +1550,9 @@ msgstr ""
|
||||
msgid "Wiinnertag requires you to enable automatic network connect on application start. Do you want to enable it now?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Writing GXGameCategories.xml"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wrong Password"
|
||||
msgstr "Yanlış Parola"
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -4,7 +4,9 @@
|
||||
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <ogc/system.h>
|
||||
|
||||
#define MAX_MEM1_ARENA_LO ((void *) (0x81700000-size)) // Preserve 1MB for other stuff if MEM1 almost out
|
||||
#define MEM2_PRIORITY_SIZE 2097152 //2MB
|
||||
|
||||
// Forbid the use of MEM2 through malloc
|
||||
@ -67,7 +69,7 @@ extern __typeof(malloc_usable_size) __real_malloc_usable_size;
|
||||
void *__wrap_malloc(size_t size)
|
||||
{
|
||||
void *p;
|
||||
if (g_bigGoesToMem2 && size > MEM2_PRIORITY_SIZE)
|
||||
if ((SYS_GetArena1Lo() > MAX_MEM1_ARENA_LO) || (g_bigGoesToMem2 && size > MEM2_PRIORITY_SIZE))
|
||||
{
|
||||
p = MEM2_alloc(size);
|
||||
if (p != 0) {
|
||||
@ -85,7 +87,7 @@ void *__wrap_malloc(size_t size)
|
||||
void *__wrap_calloc(size_t n, size_t size)
|
||||
{
|
||||
void *p;
|
||||
if (g_bigGoesToMem2 && size > MEM2_PRIORITY_SIZE)
|
||||
if ((SYS_GetArena1Lo() > MAX_MEM1_ARENA_LO) || (g_bigGoesToMem2 && size > MEM2_PRIORITY_SIZE))
|
||||
{
|
||||
p = MEM2_alloc(n * size);
|
||||
if (p != 0)
|
||||
@ -109,7 +111,7 @@ void *__wrap_calloc(size_t n, size_t size)
|
||||
void *__wrap_memalign(size_t a, size_t size)
|
||||
{
|
||||
void *p;
|
||||
if (g_bigGoesToMem2 && size > MEM2_PRIORITY_SIZE)
|
||||
if ((SYS_GetArena1Lo() > MAX_MEM1_ARENA_LO) || (g_bigGoesToMem2 && size > MEM2_PRIORITY_SIZE))
|
||||
{
|
||||
if (a <= 32 && 32 % a == 0)
|
||||
{
|
||||
|
@ -384,7 +384,7 @@ s32 DownloadWithResponse(const char * url, u8 **outbuffer, u32 *outsize)
|
||||
strlcpy(domain, url + strlen("http://"), domainlength + 1);
|
||||
|
||||
int connect = GetConnection(domain);
|
||||
if (connection < 0)
|
||||
if (connect < 0)
|
||||
return -1;
|
||||
|
||||
//Form a nice request header to send to the webserver
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "usbloader/GameList.h"
|
||||
#include "language/gettext.h"
|
||||
#include "FileOperations/fileops.h"
|
||||
#include "prompts/ProgressWindow.h"
|
||||
#include "xml/WiiTDB.hpp"
|
||||
#include "utils/StringTools.h"
|
||||
#include "svnrev.h"
|
||||
@ -133,60 +134,81 @@ bool CGameCategories::Save()
|
||||
|
||||
CreateSubfolder(filepath);
|
||||
|
||||
StartProgress(tr("Generating GXGameCategories.xml"), tr("Please wait..."), 0, false, true);
|
||||
TiXmlDocument xmlDoc;
|
||||
|
||||
TiXmlDeclaration declaration("1.0", "UTF-8", "");
|
||||
xmlDoc.InsertEndChild(declaration);
|
||||
|
||||
TiXmlElement Revision("Revision");
|
||||
TiXmlText revText(GetRev());
|
||||
Revision.InsertEndChild(revText);
|
||||
xmlDoc.InsertEndChild(Revision);
|
||||
|
||||
int progressSize = CategoryList.size() + List.size();
|
||||
int progress = 0;
|
||||
|
||||
//! Add all categories as an ID map
|
||||
{
|
||||
TiXmlElement Categories("Categories");
|
||||
//! On LinkEndChild TinyXML owns and deletes the elements allocated here.
|
||||
//! This is more memory efficient than making another copy of the elements.
|
||||
TiXmlElement *Categories = new TiXmlElement("Categories");
|
||||
|
||||
CategoryList.goToFirst();
|
||||
do
|
||||
{
|
||||
TiXmlElement Category("Category");
|
||||
Category.SetAttribute("ID", fmt("%02i", CategoryList.getCurrentID()));
|
||||
Category.SetAttribute("Name", CategoryList.getCurrentName().c_str());
|
||||
ShowProgress(progress, progressSize);
|
||||
|
||||
Categories.InsertEndChild(Category);
|
||||
TiXmlElement *Category = new TiXmlElement("Category");
|
||||
Category->SetAttribute("ID", fmt("%02i", CategoryList.getCurrentID()));
|
||||
Category->SetAttribute("Name", CategoryList.getCurrentName().c_str());
|
||||
|
||||
Categories->LinkEndChild(Category);
|
||||
|
||||
++progress;
|
||||
}
|
||||
while(CategoryList.goToNext());
|
||||
|
||||
xmlDoc.InsertEndChild(Categories);
|
||||
xmlDoc.LinkEndChild(Categories);
|
||||
}
|
||||
|
||||
//! Add game specific categories now
|
||||
{
|
||||
TiXmlElement GameCategories("GameCategories");
|
||||
//! On LinkEndChild TinyXML owns and deletes the elements allocated here.
|
||||
//! This is more memory efficient than making another copy of the elements.
|
||||
TiXmlElement *GameCategories = new TiXmlElement("GameCategories");
|
||||
|
||||
for(map<string, vector<unsigned int> >::iterator itr = List.begin(); itr != List.end(); itr++)
|
||||
{
|
||||
TiXmlElement Game("Game");
|
||||
Game.SetAttribute("ID", itr->first.c_str());
|
||||
Game.SetAttribute("Title", GameTitles.GetTitle(itr->first.c_str()));
|
||||
ShowProgress(progress, progressSize);
|
||||
|
||||
TiXmlElement *Game = new TiXmlElement("Game");
|
||||
Game->SetAttribute("ID", itr->first.c_str());
|
||||
Game->SetAttribute("Title", GameTitles.GetTitle(itr->first.c_str()));
|
||||
|
||||
for(u32 i = 0; i < itr->second.size(); ++i)
|
||||
{
|
||||
TiXmlElement Category("Category");
|
||||
Category.SetAttribute("ID", fmt("%02i", itr->second[i]));
|
||||
Category.SetAttribute("Name", CategoryList[itr->second[i]]);
|
||||
const char *CatName = CategoryList[itr->second[i]];
|
||||
if(!CatName)
|
||||
CatName = "";
|
||||
|
||||
Game.InsertEndChild(Category);
|
||||
TiXmlElement *Category = new TiXmlElement("Category");
|
||||
Category->SetAttribute("ID", fmt("%02i", itr->second[i]));
|
||||
Category->SetAttribute("Name", CatName);
|
||||
|
||||
Game->LinkEndChild(Category);
|
||||
}
|
||||
|
||||
GameCategories.InsertEndChild(Game);
|
||||
GameCategories->LinkEndChild(Game);
|
||||
++progress;
|
||||
}
|
||||
|
||||
xmlDoc.InsertEndChild(GameCategories);
|
||||
xmlDoc.LinkEndChild(GameCategories);
|
||||
}
|
||||
|
||||
ShowProgress(tr("Writing GXGameCategories.xml"), tr("Please wait..."), 0, progressSize, progressSize, false, true);
|
||||
|
||||
xmlDoc.SaveFile(configPath);
|
||||
ProgressStop();
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -337,12 +359,16 @@ bool CGameCategories::ImportFromWiiTDB(const string &xmlpath)
|
||||
if(!XML_DB.OpenFile(xmlpath.c_str()))
|
||||
return false;
|
||||
|
||||
StartProgress(tr("Importing categories"), tr("Please wait..."), 0, false, true);
|
||||
|
||||
XML_DB.SetLanguageCode(Settings.db_language);
|
||||
wString filter(gameList.GetCurrentFilter());
|
||||
gameList.LoadUnfiltered();
|
||||
|
||||
for(int i = 0; i < gameList.size(); ++i)
|
||||
{
|
||||
ShowProgress(i, gameList.size());
|
||||
|
||||
vector<string> genreList;
|
||||
|
||||
if(!XML_DB.GetGenreList((const char *) gameList[i]->id, genreList))
|
||||
@ -360,5 +386,7 @@ bool CGameCategories::ImportFromWiiTDB(const string &xmlpath)
|
||||
XML_DB.CloseFile();
|
||||
gameList.FilterList(filter.c_str());
|
||||
|
||||
ProgressStop();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ void CGameTitles::SetGameTitle(const char * id, const char * title)
|
||||
const char * CGameTitles::GetTitle(const char * id) const
|
||||
{
|
||||
if(!id)
|
||||
return NULL;
|
||||
return "";
|
||||
|
||||
for(u32 i = 0; i < TitleList.size(); ++i)
|
||||
{
|
||||
@ -38,13 +38,24 @@ const char * CGameTitles::GetTitle(const char * id) const
|
||||
return TitleList[i].Title.c_str();
|
||||
}
|
||||
|
||||
return NULL;
|
||||
//! Since not found in the WiiTDB search in the game header for a title
|
||||
if(gameList.GameCount() != gameList.size())
|
||||
gameList.LoadUnfiltered();
|
||||
|
||||
for(int i = 0; i < gameList.size(); ++i)
|
||||
{
|
||||
if(strncasecmp(id, (char *) gameList[i]->id, 6) == 0)
|
||||
return gameList[i]->title;
|
||||
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
const char * CGameTitles::GetTitle(const struct discHdr *header) const
|
||||
{
|
||||
if(!header)
|
||||
return NULL;
|
||||
return "";
|
||||
|
||||
for(u32 i = 0; i < TitleList.size(); ++i)
|
||||
{
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "network/networkops.h"
|
||||
#include "FileOperations/fileops.h"
|
||||
#include "prompts/PromptWindows.h"
|
||||
#include "usbloader/GameList.h"
|
||||
#include "language/gettext.h"
|
||||
|
||||
static const char * OnOffText[] =
|
||||
@ -59,9 +60,21 @@ FeatureSettingsMenu::FeatureSettingsMenu()
|
||||
Options->SetName(Idx++, "%s", tr( "Wiinnertag" ));
|
||||
Options->SetName(Idx++, "%s", tr( "Import Categories" ));
|
||||
|
||||
OldTitlesOverride = Settings.titlesOverride;
|
||||
|
||||
SetOptionValues();
|
||||
}
|
||||
|
||||
FeatureSettingsMenu::~FeatureSettingsMenu()
|
||||
{
|
||||
if (Settings.titlesOverride != OldTitlesOverride)
|
||||
{
|
||||
GameTitles.LoadTitlesFromWiiTDB(Settings.titlestxt_path, true);
|
||||
if(!Settings.titlesOverride)
|
||||
gameList.ReadGameList();
|
||||
}
|
||||
}
|
||||
|
||||
void FeatureSettingsMenu::SetOptionValues()
|
||||
{
|
||||
int Idx = 0;
|
||||
|
@ -30,10 +30,13 @@ class FeatureSettingsMenu : public SettingsMenu
|
||||
{
|
||||
public:
|
||||
FeatureSettingsMenu();
|
||||
virtual ~FeatureSettingsMenu();
|
||||
protected:
|
||||
void SetOptionValues();
|
||||
int GetMenuInternal();
|
||||
|
||||
int OldTitlesOverride;
|
||||
|
||||
OptionList GuiOptions;
|
||||
};
|
||||
|
||||
|
@ -30,8 +30,6 @@
|
||||
#include "settings/SettingsPrompts.h"
|
||||
#include "settings/GameTitles.h"
|
||||
#include "settings/CGameCategories.hpp"
|
||||
#include "xml/xml.h"
|
||||
#include "usbloader/GameList.h"
|
||||
#include "usbloader/wbfs.h"
|
||||
#include "utils/tools.h"
|
||||
|
||||
@ -117,18 +115,6 @@ GuiSettingsMenu::GuiSettingsMenu()
|
||||
Options->SetName(Idx++, "%s", tr( "HOME Menu" ));
|
||||
|
||||
SetOptionValues();
|
||||
|
||||
OldTitlesOverride = Settings.titlesOverride;
|
||||
}
|
||||
|
||||
GuiSettingsMenu::~GuiSettingsMenu()
|
||||
{
|
||||
if (Settings.titlesOverride != OldTitlesOverride)
|
||||
{
|
||||
GameTitles.LoadTitlesFromWiiTDB(Settings.titlestxt_path, true);
|
||||
if(!Settings.titlesOverride)
|
||||
gameList.ReadGameList();
|
||||
}
|
||||
}
|
||||
|
||||
void GuiSettingsMenu::SetOptionValues()
|
||||
|
@ -30,13 +30,10 @@ class GuiSettingsMenu : public SettingsMenu
|
||||
{
|
||||
public:
|
||||
GuiSettingsMenu();
|
||||
virtual ~GuiSettingsMenu();
|
||||
protected:
|
||||
void SetOptionValues();
|
||||
int GetMenuInternal();
|
||||
|
||||
int OldTitlesOverride;
|
||||
|
||||
OptionList GuiOptions;
|
||||
};
|
||||
|
||||
|
@ -231,7 +231,7 @@ void ThemeDownloader::SetupMainButtons()
|
||||
|
||||
if (!IsNetworkInit() && !NetworkInitPrompt())
|
||||
{
|
||||
ShowError("Could not initialize network!");
|
||||
ShowError(tr("Could not initialize network!"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "settings/CGameStatistics.h"
|
||||
#include "settings/GameTitles.h"
|
||||
#include "settings/CGameCategories.hpp"
|
||||
#include "xml/xml.h"
|
||||
#include "FreeTypeGX.h"
|
||||
#include "GameList.h"
|
||||
#include "memory/memory.h"
|
||||
|
@ -444,7 +444,7 @@ s32 Wbfs_Fat::GetHeadersCount()
|
||||
// if we have titles.txt entry use that
|
||||
title = GameTitles.GetTitle(id);
|
||||
// if no titles.txt get title from dir or file name
|
||||
if (!title && *fname_title)
|
||||
if ((!title || strlen(title) == 0) && *fname_title)
|
||||
title = fname_title;
|
||||
|
||||
if (title)
|
||||
|
@ -887,7 +887,7 @@ bool TiXmlElement::Accept( TiXmlVisitor* visitor ) const
|
||||
|
||||
TiXmlNode* TiXmlElement::Clone() const
|
||||
{
|
||||
TiXmlElement* clone = new TiXmlElement( Value() );
|
||||
TiXmlElement* clone = new TIXML_NOTHROW TiXmlElement( Value() );
|
||||
if ( !clone )
|
||||
return 0;
|
||||
|
||||
@ -1028,7 +1028,11 @@ bool TiXmlDocument::LoadFile( FILE* file, TiXmlEncoding encoding )
|
||||
}
|
||||
*/
|
||||
|
||||
char* buf = new char[ length+1 ];
|
||||
char* buf = new TIXML_NOTHROW char[ length+1 ];
|
||||
if(!buf) {
|
||||
SetError( TIXML_ERROR, 0, 0, TIXML_ENCODING_UNKNOWN );
|
||||
return false;
|
||||
}
|
||||
buf[0] = 0;
|
||||
|
||||
if ( fread( buf, length, 1, file ) != 1 ) {
|
||||
@ -1132,7 +1136,7 @@ void TiXmlDocument::CopyTo( TiXmlDocument* target ) const
|
||||
|
||||
TiXmlNode* TiXmlDocument::Clone() const
|
||||
{
|
||||
TiXmlDocument* clone = new TiXmlDocument();
|
||||
TiXmlDocument* clone = new TIXML_NOTHROW TiXmlDocument();
|
||||
if ( !clone )
|
||||
return 0;
|
||||
|
||||
@ -1318,7 +1322,7 @@ bool TiXmlComment::Accept( TiXmlVisitor* visitor ) const
|
||||
|
||||
TiXmlNode* TiXmlComment::Clone() const
|
||||
{
|
||||
TiXmlComment* clone = new TiXmlComment();
|
||||
TiXmlComment* clone = new TIXML_NOTHROW TiXmlComment();
|
||||
|
||||
if ( !clone )
|
||||
return 0;
|
||||
@ -1365,7 +1369,7 @@ bool TiXmlText::Accept( TiXmlVisitor* visitor ) const
|
||||
TiXmlNode* TiXmlText::Clone() const
|
||||
{
|
||||
TiXmlText* clone = 0;
|
||||
clone = new TiXmlText( "" );
|
||||
clone = new TIXML_NOTHROW TiXmlText( "" );
|
||||
|
||||
if ( !clone )
|
||||
return 0;
|
||||
@ -1454,7 +1458,7 @@ bool TiXmlDeclaration::Accept( TiXmlVisitor* visitor ) const
|
||||
|
||||
TiXmlNode* TiXmlDeclaration::Clone() const
|
||||
{
|
||||
TiXmlDeclaration* clone = new TiXmlDeclaration();
|
||||
TiXmlDeclaration* clone = new TIXML_NOTHROW TiXmlDeclaration();
|
||||
|
||||
if ( !clone )
|
||||
return 0;
|
||||
@ -1486,7 +1490,7 @@ bool TiXmlUnknown::Accept( TiXmlVisitor* visitor ) const
|
||||
|
||||
TiXmlNode* TiXmlUnknown::Clone() const
|
||||
{
|
||||
TiXmlUnknown* clone = new TiXmlUnknown();
|
||||
TiXmlUnknown* clone = new TIXML_NOTHROW TiXmlUnknown();
|
||||
|
||||
if ( !clone )
|
||||
return 0;
|
||||
@ -1559,10 +1563,13 @@ TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const std::string& _name )
|
||||
{
|
||||
TiXmlAttribute* attrib = Find( _name );
|
||||
if ( !attrib ) {
|
||||
attrib = new TiXmlAttribute();
|
||||
attrib = new TIXML_NOTHROW TiXmlAttribute();
|
||||
if(attrib)
|
||||
{
|
||||
Add( attrib );
|
||||
attrib->SetName( _name );
|
||||
}
|
||||
}
|
||||
return attrib;
|
||||
}
|
||||
#endif
|
||||
@ -1583,10 +1590,13 @@ TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const char* _name )
|
||||
{
|
||||
TiXmlAttribute* attrib = Find( _name );
|
||||
if ( !attrib ) {
|
||||
attrib = new TiXmlAttribute();
|
||||
attrib = new TIXML_NOTHROW TiXmlAttribute();
|
||||
if(attrib)
|
||||
{
|
||||
Add( attrib );
|
||||
attrib->SetName( _name );
|
||||
}
|
||||
}
|
||||
return attrib;
|
||||
}
|
||||
|
||||
|
@ -48,9 +48,11 @@ distribution.
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#define TIXML_STRING std::string
|
||||
#define TIXML_NOTHROW (std::nothrow)
|
||||
#else
|
||||
#include "tinystr.h"
|
||||
#define TIXML_STRING TiXmlString
|
||||
#define TIXML_NOTHROW
|
||||
#endif
|
||||
|
||||
// Deprecated library function hell. Compilers want to use the
|
||||
|
@ -850,21 +850,21 @@ TiXmlNode* TiXmlNode::Identify( const char* p, TiXmlEncoding encoding )
|
||||
#ifdef DEBUG_PARSER
|
||||
TIXML_LOG( "XML parsing Declaration\n" );
|
||||
#endif
|
||||
returnNode = new TiXmlDeclaration();
|
||||
returnNode = new TIXML_NOTHROW TiXmlDeclaration();
|
||||
}
|
||||
else if ( StringEqual( p, commentHeader, false, encoding ) )
|
||||
{
|
||||
#ifdef DEBUG_PARSER
|
||||
TIXML_LOG( "XML parsing Comment\n" );
|
||||
#endif
|
||||
returnNode = new TiXmlComment();
|
||||
returnNode = new TIXML_NOTHROW TiXmlComment();
|
||||
}
|
||||
else if ( StringEqual( p, cdataHeader, false, encoding ) )
|
||||
{
|
||||
#ifdef DEBUG_PARSER
|
||||
TIXML_LOG( "XML parsing CDATA\n" );
|
||||
#endif
|
||||
TiXmlText* text = new TiXmlText( "" );
|
||||
TiXmlText* text = new TIXML_NOTHROW TiXmlText( "" );
|
||||
text->SetCDATA( true );
|
||||
returnNode = text;
|
||||
}
|
||||
@ -873,7 +873,7 @@ TiXmlNode* TiXmlNode::Identify( const char* p, TiXmlEncoding encoding )
|
||||
#ifdef DEBUG_PARSER
|
||||
TIXML_LOG( "XML parsing Unknown(1)\n" );
|
||||
#endif
|
||||
returnNode = new TiXmlUnknown();
|
||||
returnNode = new TIXML_NOTHROW TiXmlUnknown();
|
||||
}
|
||||
else if ( IsAlpha( *(p+1), encoding )
|
||||
|| *(p+1) == '_' )
|
||||
@ -881,14 +881,14 @@ TiXmlNode* TiXmlNode::Identify( const char* p, TiXmlEncoding encoding )
|
||||
#ifdef DEBUG_PARSER
|
||||
TIXML_LOG( "XML parsing Element\n" );
|
||||
#endif
|
||||
returnNode = new TiXmlElement( "" );
|
||||
returnNode = new TIXML_NOTHROW TiXmlElement( "" );
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef DEBUG_PARSER
|
||||
TIXML_LOG( "XML parsing Unknown(2)\n" );
|
||||
#endif
|
||||
returnNode = new TiXmlUnknown();
|
||||
returnNode = new TIXML_NOTHROW TiXmlUnknown();
|
||||
}
|
||||
|
||||
if ( returnNode )
|
||||
@ -1140,7 +1140,7 @@ const char* TiXmlElement::Parse( const char* p, TiXmlParsingData* data, TiXmlEnc
|
||||
else
|
||||
{
|
||||
// Try to read an attribute:
|
||||
TiXmlAttribute* attrib = new TiXmlAttribute();
|
||||
TiXmlAttribute* attrib = new TIXML_NOTHROW TiXmlAttribute();
|
||||
if ( !attrib )
|
||||
{
|
||||
return 0;
|
||||
@ -1190,7 +1190,7 @@ const char* TiXmlElement::ReadValue( const char* p, TiXmlParsingData* data, TiXm
|
||||
if ( *p != '<' )
|
||||
{
|
||||
// Take what we have, make a text element.
|
||||
TiXmlText* textNode = new TiXmlText( "" );
|
||||
TiXmlText* textNode = new TIXML_NOTHROW TiXmlText( "" );
|
||||
|
||||
if ( !textNode )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user