* Added a GUI option for Play count display.

* Fixed hooktype reading for game's settings. (Dimok)
This commit is contained in:
cyan 2011-09-04 10:13:47 +00:00
parent e43c9b108d
commit bb0ab04e51
28 changed files with 179 additions and 29 deletions

View File

@ -2,8 +2,8 @@
<app version="1">
<name> USB Loader GX</name>
<coder>USB Loader GX Team</coder>
<version>2.2 r1110</version>
<release_date>201109030839</release_date>
<version>2.2 r1111</version>
<release_date>201109040858</release_date>
<!-- // remove this line to enable arguments
<arguments>
<arg>--ios=250</arg>

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+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"
@ -1053,6 +1053,9 @@ msgstr "Nebyly vybrány žádné cheaty"
msgid "No data could be read."
msgstr "Nelze císt data?"
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Oblíbené nejsou oznaceny"
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr "Zobrazit volné místo"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Ukoncit systém"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-08 03:32+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Fox888[dk]\n"
"Language-Team: [dk]\n"
@ -1053,6 +1053,9 @@ msgstr "Der blev ikke valgt nogle cheats"
msgid "No data could be read."
msgstr "Data kunne ikke læses."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Ingen favoritter er valgt."
@ -1314,6 +1317,9 @@ msgstr "Vis kategorier"
msgid "Show Free Space"
msgstr "Vis fri plads"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Sluk (rødt lys)"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2011-06-30 14:22+0100\n"
"Last-Translator: glowy\n"
"Language-Team: tj_cool, glowy\n"
@ -1053,6 +1053,9 @@ msgstr "Geen cheats geselecteerd"
msgid "No data could be read."
msgstr "Data kon niet gelezen worden."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Geen favorieten geselecteerd."
@ -1314,6 +1317,9 @@ msgstr "Toon categorieën"
msgid "Show Free Space"
msgstr "Vrije ruimte weergeven"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Systeem uitzetten"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -1053,6 +1053,9 @@ msgstr ""
msgid "No data could be read."
msgstr ""
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: c64rmx\n"
"Language-Team: \n"
@ -1053,6 +1053,9 @@ msgstr ""
msgid "No data could be read."
msgstr "Tietoa ei voitu lukea"
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Sammuta järjestelmä"

View File

@ -1,11 +1,11 @@
# USB Loader GX language source file.
# French.lang - r1108
# French.lang - r1111
# don't delete/change this line (é).
msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Cyan, Kin8\n"
"Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n"
@ -1053,6 +1053,9 @@ msgstr "Aucune sélection de triches"
msgid "No data could be read."
msgstr "Lecture des données impossible."
msgid "No disc inserted."
msgstr "Aucun disque inséré."
msgid "No favorites selected."
msgstr "Pas de favoris sélectionnés"
@ -1314,6 +1317,9 @@ msgstr "Afficher les catégories"
msgid "Show Free Space"
msgstr "Afficher l'espace libre"
msgid "Show Play Count"
msgstr "Afficher le compteur d'utilis."
msgid "Shutdown System"
msgstr "Arrêt"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-30 03:50+0100\n"
"POT-Creation-Date: 2011-09-04 11:18+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"
@ -1053,6 +1053,9 @@ msgstr "Es wurden keine Cheats ausgewählt."
msgid "No data could be read."
msgstr "Daten konnten nicht gelesen werden."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Keine Favoriten ausgewählt"
@ -1314,6 +1317,9 @@ msgstr "Zeige Kategorien"
msgid "Show Free Space"
msgstr "Zeige frei. Speicher"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "System herunterfahren"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-12-29 11:05+0100\n"
"Last-Translator: Springdale\n"
"Language-Team: Tusk, Springdale\n"
@ -1053,6 +1053,9 @@ msgstr "Nincsenek kiválasztott cheat-ek"
msgid "No data could be read."
msgstr "Adat nem olvasható."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Leállítás"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2011-06-27 01:00+0200\n"
"Last-Translator: Cambo \n"
"Language-Team: Cambo\n"
@ -1053,6 +1053,9 @@ msgstr "Non è stato selezionato alcun trucco"
msgid "No data could be read."
msgstr "Non è stato possibile leggere alcun dato."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Nessun preferito selezionato."
@ -1314,6 +1317,9 @@ msgstr "Mostra categorie"
msgid "Show Free Space"
msgstr "Mostra Spazio Libero"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Spegnimento"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: hosigumayuugi\n"
"Language-Team: hosigumayuugi, papa, ichiroling\n"
@ -1053,6 +1053,9 @@ msgstr "何も選ばれていません"
msgid "No data could be read."
msgstr "読み込みに失敗しました"
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "お気に入りはありません"
@ -1314,6 +1317,9 @@ msgstr "カテゴリを表示"
msgid "Show Free Space"
msgstr "空き容量の表示"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "シャットダウン"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nextos@korea.com\n"
"Language-Team: \n"
@ -1053,6 +1053,9 @@ msgstr ""
msgid "No data could be read."
msgstr "데이터를 읽을수가 없음."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "시스템 종료"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: raschi\n"
"Language-Team: raschi\n"
@ -1053,6 +1053,9 @@ msgstr "Ingen juksefiler valgt"
msgid "No data could be read."
msgstr "Ingen data kan leses."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Ingen favoritter valgt."
@ -1314,6 +1317,9 @@ msgstr "Vis kategorier"
msgid "Show Free Space"
msgstr "Vis ledig plass"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Skru helt av"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n"
@ -1053,6 +1053,9 @@ msgstr "Nie wybrano zadnych kodow"
msgid "No data could be read."
msgstr "Blad odczytu"
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Wylacz"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-23 18:52+0200\n"
"Last-Translator: aniemotion\n"
"Language-Team: boto12, aniemotion\n"
@ -1053,6 +1053,9 @@ msgstr "Nenhuma seleção de truques"
msgid "No data could be read."
msgstr "Não foi possível ler dados."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Desligar"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2011-07-30 19:45+0100\n"
"Last-Translator: pplucky <pplucky@gmail.com>\n"
"Language-Team: Sky8000, pplucky\n"
@ -1053,6 +1053,9 @@ msgstr "Não foram seleccionados batotas"
msgid "No data could be read."
msgstr "Não foi possível ler dados."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Nenhum favorito seleccionado"
@ -1314,6 +1317,9 @@ msgstr "Mostrar Categorias"
msgid "Show Free Space"
msgstr "Mostrar Espaço Livre"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Desligar"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nikolai_ca\n"
"Language-Team: Kir, alendit, nikolai_ca\n"
@ -1053,6 +1053,9 @@ msgstr "Не было выбрано ни одного чит-кода"
msgid "No data could be read."
msgstr "Невозможно считать данные."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Выключить систему"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: knife.hu kavid emul8ion\n"
"Language-Team: kavid\n"
@ -1053,6 +1053,9 @@ msgstr "没有选择作弊码"
msgid "No data could be read."
msgstr "无法读取数据."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "未选择收藏."
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr "显示剩余空间"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "关闭系统"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-08 03:32+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2011-07-25 16:40+0200\n"
"Last-Translator: hvy109\n"
"Language-Team: Penn, SirPalax, hvy109\n"
@ -1053,6 +1053,9 @@ msgstr "No se seleccionaron trucos"
msgid "No data could be read."
msgstr "No se dispone de datos para leer."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "Ningún favorito seleccionado."
@ -1314,6 +1317,9 @@ msgstr "Mostrar Categorías"
msgid "Show Free Space"
msgstr "Mostrar Espacio Libre"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Apagar Sistema"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2010-01-19 17:39+0200\n"
"Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n"
@ -1053,6 +1053,9 @@ msgstr "Inga fusk har valda"
msgid "No data could be read."
msgstr "Ingen data kunde läsas."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Stäng av helt"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-08 03:32+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+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"
@ -1053,6 +1053,9 @@ msgstr "沒有選擇金手指"
msgid "No data could be read."
msgstr "無法讀取數據"
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr "沒有選取最愛。"
@ -1314,6 +1317,9 @@ msgstr "顯示類別"
msgid "Show Free Space"
msgstr "顯示可用空間"
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "關閉系統"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Nitro_subzero \n"
"Language-Team: Nitro_subzero\n"
@ -1053,6 +1053,9 @@ msgstr "ไม่ได้เลือกการโกงเกมส์ไว
msgid "No data could be read."
msgstr "ไม่มีข้อมูลที่อ่านไม่ได้"
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "ปิดระบบ"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-29 22:53+0200\n"
"POT-Creation-Date: 2011-09-04 11:18+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: omercigingelini\n"
"Language-Team: omercigingelini\n"
@ -1053,6 +1053,9 @@ msgstr "Hile seçilmedi"
msgid "No data could be read."
msgstr "Hiç veri okunamadı."
msgid "No disc inserted."
msgstr ""
msgid "No favorites selected."
msgstr ""
@ -1314,6 +1317,9 @@ msgstr ""
msgid "Show Free Space"
msgstr ""
msgid "Show Play Count"
msgstr ""
msgid "Shutdown System"
msgstr "Sistemi Kapat"

View File

@ -168,7 +168,7 @@ GameWindow::GameWindow(int Selected)
detailsBtn->SetEffectGrow();
Append(dialogBoxImg);
Append(playcntTxt);
if (Settings.ShowPlayCount) Append(playcntTxt);
Append(backBtn);
Append(detailsBtn);
if (!mountMethod)//stuff we don't show if it is a DVD mounted

View File

@ -132,6 +132,7 @@ void CSettings::SetDefault()
Hooktype = 0;
WiirdDebugger = OFF;
WiirdDebuggerPause = OFF;
ShowPlayCount = ON;
}
bool CSettings::Load()
@ -297,6 +298,7 @@ bool CSettings::Save()
fprintf(file, "Hooktype = %d\n", Hooktype);
fprintf(file, "WiirdDebugger = %d\n", WiirdDebugger);
fprintf(file, "WiirdDebuggerPause = %d\n", WiirdDebuggerPause);
fprintf(file, "ShowPlayCount = %d\n", ShowPlayCount);
fclose(file);
return true;
@ -489,6 +491,11 @@ bool CSettings::SetSetting(char *name, char *value)
if (sscanf(value, "%d", &i) == 1) marknewtitles = i;
return true;
}
else if (strcmp(name, "ShowPlayCount") == 0)
{
if (sscanf(value, "%d", &i) == 1) ShowPlayCount = i;
return true;
}
else if (strcmp(name, "ShowFreeSpace") == 0)
{
if (sscanf(value, "%d", &i) == 1) ShowFreeSpace = i;

View File

@ -132,6 +132,7 @@ class CSettings
short Hooktype;
short WiirdDebugger;
short WiirdDebuggerPause;
short ShowPlayCount;
protected:
bool ValidVersion(FILE * file);
bool SetSetting(char *name, char *value);

View File

@ -111,6 +111,7 @@ GuiSettingsMenu::GuiSettingsMenu()
Options->SetName(Idx++, "%s", tr( "Disc Artwork Download" ));
Options->SetName(Idx++, "%s", tr( "Screensaver" ));
Options->SetName(Idx++, "%s", tr( "Mark new games" ));
Options->SetName(Idx++, "%s", tr( "Show Play Count" ));
Options->SetName(Idx++, "%s", tr( "Show Free Space" ));
Options->SetName(Idx++, "%s", tr( "HOME Menu" ));
Options->SetName(Idx++, "%s", tr( "Use System Font" ));
@ -170,6 +171,9 @@ void GuiSettingsMenu::SetOptionValues()
//! Settings: Mark new games
Options->SetValue(Idx++, "%s", tr( OnOffText[Settings.marknewtitles] ));
//! Settings: Show Play Count
Options->SetValue(Idx++, "%s", tr( OnOffText[Settings.ShowPlayCount] ));
//! Settings: Show Free Space
Options->SetValue(Idx++, "%s", tr( OnOffText[Settings.ShowFreeSpace] ));
@ -321,6 +325,12 @@ int GuiSettingsMenu::GetMenuInternal()
if (++Settings.marknewtitles >= MAX_ON_OFF) Settings.marknewtitles = 0;
}
//! Settings: Show Play Count
else if (ret == ++Idx)
{
if (++Settings.ShowPlayCount >= MAX_ON_OFF) Settings.ShowPlayCount = 0;
}
//! Settings: Show Free Space
else if (ret == ++Idx)
{

View File

@ -239,8 +239,8 @@ int GameBooter::BootGame(const char * gameID)
u8 WiirdDebugger = game_cfg->WiirdDebugger == INHERIT ? Settings.WiirdDebugger : game_cfg->WiirdDebugger;
u64 returnToChoice = game_cfg->returnTo ? NandTitles.FindU32(Settings.returnTo) : 0;
if(ocarinaChoice && Settings.Hooktype == OFF)
Settings.Hooktype = 1;
if(ocarinaChoice && Hooktype == OFF)
Hooktype = 1;
//! Prepare alternate dol settings
SetupAltDOL(gameHeader.id, alternatedol, alternatedoloffset);
@ -330,5 +330,5 @@ int GameBooter::BootGame(const char * gameID)
//! Jump to the entrypoint of the game - the last function of the USB Loader
gprintf("Jumping to game entrypoint: 0x%08X.\n", AppEntrypoint);
return Disc_JumpToEntrypoint(Settings.Hooktype, WDMMenu::GetDolParameter());
return Disc_JumpToEntrypoint(Hooktype, WDMMenu::GetDolParameter());
}