RC1 upload:

*update of ehcmodules for Hermes IOS supporting now more drives (thanks rodries again)
*added ignore case sensitivity on NTFS (hopefully it works as good as it sounds)
*fixed homebrew receiving in homebrew launcher via network
*changed video switching code to the one from Wiiflow
*allow ',' as floating point '.'
*Fix of reloading titles after wiitdb update
*reset all other button clicks on carousel when two or more buttons are clicked at once
*a few code optimizations
*fixed compile bug on OSX (Issue 1844 and Issue 1132)
*language files updated
This commit is contained in:
dimok321 2011-03-14 21:19:21 +00:00
parent 6d6f0f2243
commit 052c6d4591
49 changed files with 1213 additions and 1082 deletions

View File

@ -2,8 +2,8 @@
<app version="1">
<name> USB Loader GX</name>
<coder>USB Loader GX Team</coder>
<version>2.0 r1074</version>
<release_date>201102211941</release_date>
<version>2.0 r1075</version>
<release_date>201102251818</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.

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\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"
@ -606,6 +606,9 @@ msgstr "Ploché obaly"
msgid "Flip-X"
msgstr ""
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "Vynutit NTSC"
@ -1415,6 +1418,9 @@ msgstr "Co si prejete smazat pro tento titul:"
msgid "WiFi Features"
msgstr "WiFi možnosti"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Korekce širokoúhlé obrazovky"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:47+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Fox888[dk]\n"
"Language-Team: [dk]\n"
@ -606,6 +606,9 @@ msgstr "Flad Cover"
msgid "Flip-X"
msgstr ""
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "Tving NTSC"
@ -1415,6 +1418,9 @@ msgstr "Hvad skal der slettes for dette spil:"
msgid "WiFi Features"
msgstr "WiFi-indstillinger"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Bredformat-fix"

View File

@ -1,12 +1,12 @@
# USB Loader GX language source file.
# dutch.lang - r1071
# dutch.lang - r1074
# don't delete/change this line (é).
msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:47+0100\n"
"PO-Revision-Date: 2011-02-14 15:07+0100\n"
"POT-Creation-Date: 2011-03-14 22:04+0100\n"
"PO-Revision-Date: 2011-02-28 07:16+0100\n"
"Last-Translator: glowy\n"
"Language-Team: tj_cool, glowy\n"
"MIME-Version: 1.0\n"
@ -606,6 +606,9 @@ msgstr "Platte hoesjes"
msgid "Flip-X"
msgstr "X omwisselen"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "Forceer NTSC"
@ -1415,6 +1418,9 @@ msgstr "Wat er verwijderd moet worden voor deze spel titel:"
msgid "WiFi Features"
msgstr "WiFi functies"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Breedbeeld"
@ -1512,7 +1518,7 @@ msgstr "seconden over"
#~ msgstr "Verwijderen ?"
#~ msgid "Keep"
#~ msgstr "Bijhouden"
#~ msgstr "Behouden"
#~ msgid "Not a WAD file."
#~ msgstr "Geen WAD bestand."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr ""
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr ""
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
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-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: c64rmx\n"
"Language-Team: \n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "Käännä-X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "WiFi ominaisuudet"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Laajakuva korjaus"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Cyan\n"
"Language-Team: Badablek, Amour, ikya & Kin8\n"
@ -606,6 +606,9 @@ msgstr "Jaquettes 2D"
msgid "Flip-X"
msgstr "Inversion-X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "Forcer NTSC"
@ -1415,6 +1418,9 @@ msgstr "Que voulez-vous supprimer pour ce titre?"
msgid "WiFi Features"
msgstr "Connexion WiFi"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "16:9"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:47+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2010-07-03 17:35-0800\n"
"Last-Translator: TheRealVisitor\n"
"Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n"
@ -606,6 +606,9 @@ msgstr "2D Cover"
msgid "Flip-X"
msgstr "Flip-X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "Erzwinge NTSC"
@ -1415,6 +1418,9 @@ msgstr "Was sollte bei diesem Spiel gelöscht werden:"
msgid "WiFi Features"
msgstr "WiFi Fähigkeiten"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Breitbild (16:9)"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-12-29 11:05+0100\n"
"Last-Translator: Springdale\n"
"Language-Team: Tusk, Springdale\n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr ""
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "WiFi Sajátosságok"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Szélesvászon Fix"

View File

@ -1,12 +1,12 @@
# USB Loader GX language source file.
# italian.lang - v69 - r1053
# italian.lang - v70 - r1074
# don't delete/change this line (é).
msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"PO-Revision-Date: 2011-01-22 20:00+0200\n"
"POT-Creation-Date: 2011-03-14 22:04+0100\n"
"PO-Revision-Date: 2011-03-10 21:00+0200\n"
"Last-Translator: Cambo \n"
"Language-Team: Cambo\n"
"MIME-Version: 1.0\n"
@ -24,11 +24,11 @@ msgstr " non è disponibile sul server."
#, c-format
msgid "%i files not found on the server!"
msgstr ""
msgstr "%i file non trovati sul server!"
#, c-format
msgid "%i missing files"
msgstr ""
msgstr "%i file mancanti"
msgid "0 (Everyone)"
msgstr "0 (Tutti)"
@ -142,7 +142,7 @@ msgid "App Language"
msgstr "Lingua Utilizzata"
msgid "Apply"
msgstr ""
msgstr "Applica"
msgid "Apr"
msgstr "aprile"
@ -160,13 +160,13 @@ msgid "Aug"
msgstr "agosto"
msgid "Author(s):"
msgstr ""
msgstr "Autore/i:"
msgid "AutoInit Network"
msgstr "Inizializz. Rete Automatica"
msgid "Automatic port switching is done on the fly. You need to change all custom paths to SD-Card first for this option or else it could damage a filesystem."
msgstr ""
msgstr "Il cambio automatico di porta è istantaneo. Per utilizzare questa opzione si devono preliminarmente impostare tutti i percorsi verso la scheda SD, altrimenti si rischia di danneggiare il filesystem del disco."
msgid "BCA Codes Path"
msgstr "Cart. Codici BCA"
@ -244,10 +244,10 @@ msgid "Both"
msgstr "Entrambi"
msgid "Both Ports"
msgstr ""
msgstr "Entrambe Porte"
msgid "Cache Titles"
msgstr ""
msgstr "Cache Titoli"
msgid "Can't be formatted"
msgstr "Non si può formattare"
@ -300,7 +300,7 @@ msgid "Coding:"
msgstr "Sviluppo:"
msgid "Connection to server timed out."
msgstr ""
msgstr "Connessione al server scaduta."
msgid "Console"
msgstr "Terminale"
@ -364,7 +364,7 @@ msgid "Credits"
msgstr "Ringraziamenti"
msgid "Custom Discarts"
msgstr ""
msgstr "Imm. Disco Person."
msgid "Custom Paths"
msgstr "Impostazioni Cartelle"
@ -406,7 +406,7 @@ msgid "Design:"
msgstr "Grafica:"
msgid "Details"
msgstr ""
msgstr "Dettagli"
msgid "Developed by"
msgstr "Sviluppato da"
@ -445,7 +445,7 @@ msgid "Do you want to apply it now?"
msgstr "Applicare immediatamente?"
msgid "Do you want to apply this theme?"
msgstr ""
msgstr "Vuoi utilizzare questo tema?"
msgid "Do you want to change language?"
msgstr "Vuoi cambiare lingua?"
@ -478,16 +478,16 @@ msgid "Download finished"
msgstr "Ho finito di scaricare"
msgid "Downloading 3D Covers"
msgstr ""
msgstr "Sto scaricando le copertine 3D"
msgid "Downloading Flat Covers"
msgstr ""
msgstr "Sto scaricando le copertine 2D"
msgid "Downloading Full HQ Covers"
msgstr ""
msgstr "Sto scaricando le copertine Fronte/Retro HQ"
msgid "Downloading Full LQ Covers"
msgstr ""
msgstr "Sto scaricando le copertine Fronte/Retro LQ"
msgid "Downloading custom Discarts"
msgstr "Sto scaricando le imm. disco personalizzate"
@ -606,6 +606,9 @@ msgstr "Copertine 2D"
msgid "Flip-X"
msgstr "Scorrimento Dischi"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "Forza NTSC"
@ -622,7 +625,7 @@ msgid "Formatting, please wait..."
msgstr "Sto Formattando, prego attendere..."
msgid "Found missing images."
msgstr ""
msgstr "Trovate immagini mancanti."
msgid "Free Space"
msgstr "Spazio libero"
@ -631,13 +634,13 @@ msgid "French"
msgstr "Francese"
msgid "Full Cover Path"
msgstr ""
msgstr "Cart. Cop. Fronte/Retro"
msgid "Full HQ Covers"
msgstr ""
msgstr "Cop. Fronte/Retro HQ"
msgid "Full LQ Covers"
msgstr ""
msgstr "Cop. Fronte/Retro LQ"
msgid "Full Menu"
msgstr "Menu Completo"
@ -694,7 +697,7 @@ msgid "Game is already installed:"
msgstr "Gioco già installato:"
msgid "Game/Install Partition"
msgstr ""
msgstr "Partizione Giochi/Inst."
msgid "Gamename [GAMEID]"
msgstr "Nomegioco [IDGIOCO]"
@ -889,7 +892,7 @@ msgid "Mount DVD drive"
msgstr "Avvia DVD"
msgid "Multiple Partitions"
msgstr ""
msgstr "Partizioni Multiple"
msgid "Music Loop Mode"
msgstr "Ripetizione Musica Sottof."
@ -946,7 +949,7 @@ msgid "No themes found on the site."
msgstr "Nessun tema trovato sul sito."
msgid "No themes found."
msgstr ""
msgstr "Nessun tema trovato."
msgid "None"
msgstr "Nessuno"
@ -1012,7 +1015,7 @@ msgid "Only for Install"
msgstr "Installa Solamente"
msgid "Original Discarts"
msgstr ""
msgstr "Imm. Disco Originali"
msgid "Original/Customs"
msgstr "Origin./Modific."
@ -1147,7 +1150,7 @@ msgid "Save Game List to"
msgstr "Salvataggio Elenco Giochi in"
msgid "Save List"
msgstr ""
msgstr "Salva Lista"
msgid "Saved"
msgstr "Salvataggio Eseguito"
@ -1189,7 +1192,7 @@ msgid "Sort alphabetically"
msgstr "Ordine Alfabetico"
msgid "Sort by number of players"
msgstr ""
msgstr "Ordine per Num. Giocatori"
msgid "Sort by rank"
msgstr "Ordine Preferenza"
@ -1283,7 +1286,7 @@ msgid "Theme Downloader"
msgstr "Scaricamento Temi"
msgid "Theme Menu"
msgstr ""
msgstr "Menu Temi"
msgid "Theme Path"
msgstr "Cart. Temi"
@ -1322,10 +1325,10 @@ msgid "USB Loader GX is protected"
msgstr "USB Loader GX è Protetto"
msgid "USB Port"
msgstr ""
msgstr "Porta USB"
msgid "USB Port changing is only supported on Hermes cIOS."
msgstr ""
msgstr "Il cambio della Porta USB è possibile solo con il cIOS di Hermes."
msgid "Uninstall Game"
msgstr "Disinstalla il gioco"
@ -1385,7 +1388,7 @@ msgid "VIDTV Patch"
msgstr "Video Forzato"
msgid "Version:"
msgstr ""
msgstr "Versione:"
#, c-format
msgid "Version: %s"
@ -1415,6 +1418,9 @@ msgstr "Cosa vuoi eliminare per questo gioco?"
msgid "WiFi Features"
msgstr "Caratteristiche WiFi"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Widescreen"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-14 22:04+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: ichiroling\n"
"Language-Team: hosigumayuugi, papa, ichiroling\n"
@ -166,7 +166,7 @@ msgid "AutoInit Network"
msgstr "自動ネット接続"
msgid "Automatic port switching is done on the fly. You need to change all custom paths to SD-Card first for this option or else it could damage a filesystem."
msgstr ""
msgstr "ポートの自動切換の利用に際し、ファイルシステムの破損を避けるため、独自のパス設定は全てSDカードにしてください。"
msgid "BCA Codes Path"
msgstr "BCAコード"
@ -244,10 +244,10 @@ msgid "Both"
msgstr "IDとリージョンを表示"
msgid "Both Ports"
msgstr ""
msgstr "両方のポート"
msgid "Cache Titles"
msgstr ""
msgstr "ゲーム名のキャッシュ"
msgid "Can't be formatted"
msgstr "初期化できません"
@ -406,7 +406,7 @@ msgid "Design:"
msgstr "デザイン:"
msgid "Details"
msgstr ""
msgstr "詳細"
msgid "Developed by"
msgstr "開発者:"
@ -606,6 +606,9 @@ msgstr "正面カバー"
msgid "Flip-X"
msgstr "ゲームリストの回転"
msgid "Font Scale Factor"
msgstr "文字サイズの補正率"
msgid "Force NTSC"
msgstr "NTSCに強制"
@ -1322,10 +1325,10 @@ msgid "USB Loader GX is protected"
msgstr "GXは保護されています"
msgid "USB Port"
msgstr ""
msgstr "USBポート"
msgid "USB Port changing is only supported on Hermes cIOS."
msgstr ""
msgstr "USBポートの切替機能は、Hermes cIOS使用時のみ有効です。"
msgid "Uninstall Game"
msgstr "ゲームをアンインストール"
@ -1415,6 +1418,9 @@ msgstr "このゲームの何を削除しますか:"
msgid "WiFi Features"
msgstr "ネットワーク対応"
msgid "Widescreen Factor"
msgstr "ワイド画面の補正率"
msgid "Widescreen Fix"
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-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nextos@korea.com\n"
"Language-Team: \n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "좌/우 설정"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "WiFi 형태"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
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-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: raschi\n"
"Language-Team: raschi\n"
@ -606,6 +606,9 @@ msgstr "2D cover"
msgid "Flip-X"
msgstr ""
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "Tving NTSC"
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "WiFi egenskaper"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Widescreen fiks"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "Obrot na osi X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "Opcje WiFi"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Popraw ekran panoramiczny"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-23 18:52+0200\n"
"Last-Translator: aniemotion\n"
"Language-Team: boto12, aniemotion\n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "Paginação Horizontal"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "Rede sem fios"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Correção 16:9"

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nikolai_ca\n"
"Language-Team: Kir, alendit, nikolai_ca\n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "Flip-X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "свойства WiFi"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
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-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-14 22:04+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: knife.hu kavid emul8ion\n"
"Language-Team: kavid\n"
@ -606,6 +606,9 @@ msgstr "普通封面"
msgid "Flip-X"
msgstr "按键规则"
msgid "Font Scale Factor"
msgstr "字体比例因数"
msgid "Force NTSC"
msgstr "强制 NTSC"
@ -634,10 +637,10 @@ msgid "Full Cover Path"
msgstr "完整封面路径"
msgid "Full HQ Covers"
msgstr "完整高清晰封面路径"
msgstr "完整高清晰封面"
msgid "Full LQ Covers"
msgstr "完整低清晰封面路径"
msgstr "完整低清晰封面"
msgid "Full Menu"
msgstr "完整菜单"
@ -985,13 +988,13 @@ msgid "Nov"
msgstr "十一月"
msgid "OFF"
msgstr "关闭"
msgstr "禁止"
msgid "OK"
msgstr "确定"
msgid "ON"
msgstr "开启"
msgstr "未禁止"
msgid "Ocarina"
msgstr "Ocarina金手指"
@ -1415,6 +1418,9 @@ msgstr "要删除这个游戏的什么:"
msgid "WiFi Features"
msgstr "WiFi 功能"
msgid "Widescreen Factor"
msgstr "宽屏因数"
msgid "Widescreen Fix"
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-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: SirPalax\n"
"Language-Team: Penn, SirPalax\n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "Desplazamiento X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "Características WiFi"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Ajuste panorámico"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2010-01-19 17:39+0200\n"
"Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "Vänd-X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "WiFi funktioner"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Bredbild 16/9 Fix"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\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"
@ -166,7 +166,7 @@ msgid "AutoInit Network"
msgstr "自動檢查網路"
msgid "Automatic port switching is done on the fly. You need to change all custom paths to SD-Card first for this option or else it could damage a filesystem."
msgstr "快速執行自動槽位切換。首先你需要在SD卡改變所有自訂路徑這個選項,否則可能會損壞檔案系統。"
msgstr "立即生效連接埠自動切換功能。首先你需要在這選項改變所有自訂路徑為SD卡,否則可能會損壞檔案系統。"
msgid "BCA Codes Path"
msgstr "BAC代碼路徑"
@ -244,10 +244,10 @@ msgid "Both"
msgstr "全部"
msgid "Both Ports"
msgstr "兩個插槽"
msgstr "兩個連接埠"
msgid "Cache Titles"
msgstr ""
msgstr "遊戲標題緩衝"
msgid "Can't be formatted"
msgstr "無法格式化"
@ -406,7 +406,7 @@ msgid "Design:"
msgstr "設計者:"
msgid "Details"
msgstr ""
msgstr "詳細資訊"
msgid "Developed by"
msgstr "開發商"
@ -606,6 +606,9 @@ msgstr "普通封面"
msgid "Flip-X"
msgstr "按鍵規則"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr "強制 NTSC"
@ -1322,10 +1325,10 @@ msgid "USB Loader GX is protected"
msgstr "USB Loader GX 被上鎖保護"
msgid "USB Port"
msgstr "USB 插槽"
msgstr "USB 連接埠"
msgid "USB Port changing is only supported on Hermes cIOS."
msgstr "USB插槽變更僅Hermes cIOS支援。"
msgstr "USB連接埠變更僅Hermes cIOS支援。"
msgid "Uninstall Game"
msgstr "移除遊戲"
@ -1415,6 +1418,9 @@ msgstr "這遊戲title應刪除什麼"
msgid "WiFi Features"
msgstr "WiFi功能設定"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
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-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Nitro_subzero \n"
"Language-Team: Nitro_subzero\n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "กลับ-X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "ความสามารถของ Wi Fi"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
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-02-14 19:44+0100\n"
"POT-Creation-Date: 2011-03-04 18:36+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: omercigingelini\n"
"Language-Team: omercigingelini\n"
@ -606,6 +606,9 @@ msgstr ""
msgid "Flip-X"
msgstr "Çevir-X"
msgid "Font Scale Factor"
msgstr ""
msgid "Force NTSC"
msgstr ""
@ -1415,6 +1418,9 @@ msgstr ""
msgid "WiFi Features"
msgstr "WiFi Özellikleri"
msgid "Widescreen Factor"
msgstr ""
msgid "Widescreen Fix"
msgstr "Genişekran Çözümü"

File diff suppressed because one or more lines are too long

View File

@ -162,7 +162,7 @@ bool PartitionHandle::Mount(int pos, const char * name, bool forceFAT)
if(strncmp(GetFSName(pos), "NTFS", 4) == 0 || strcmp(GetFSName(pos), "GUID-Entry") == 0)
{
if(ntfsMount(MountNameList[pos].c_str(), interface, GetLBAStart(pos), CACHE, SECTORS, NTFS_SHOW_HIDDEN_FILES | NTFS_RECOVER))
if(ntfsMount(MountNameList[pos].c_str(), interface, GetLBAStart(pos), CACHE, SECTORS, NTFS_SHOW_HIDDEN_FILES | NTFS_IGNORE_CASE | NTFS_RECOVER))
{
PartitionList[pos].FSName = "NTFS";
return true;

View File

@ -1,20 +0,0 @@
#include "HomebrewBrowser.hpp"
/****************************************************************************
* MenuHomebrewBrowse
***************************************************************************/
int MenuHomebrewBrowse()
{
HomebrewBrowser * Menu = new HomebrewBrowser();
mainWindow->Append(Menu);
Menu->ShowMenu();
int returnMenu = MENU_NONE;
while((returnMenu = Menu->MainLoop()) == MENU_NONE);
delete Menu;
return returnMenu;
}

View File

@ -1,16 +0,0 @@
/****************************************************************************
* HomebrewBrowse
* USB Loader GX 2009
*
* Homebrew launcher for USB Loader GX
*
* homebrewbrowse.h
***************************************************************************/
#ifndef _HOMEBREWBROWSE_H_
#define _HOMEBREWBROWSE_H_
int roundup(float number);
int MenuHomebrewBrowse();
#endif

View File

@ -125,6 +125,22 @@ HomebrewBrowser::~HomebrewBrowser()
HaltNetworkThread();
}
int HomebrewBrowser::Execute()
{
HomebrewBrowser * Menu = new HomebrewBrowser();
mainWindow->Append(Menu);
Menu->ShowMenu();
int returnMenu = MENU_NONE;
while((returnMenu = Menu->MainLoop()) == MENU_NONE);
delete Menu;
return returnMenu;
}
void HomebrewBrowser::AddMainButtons()
{
HaltGui();
@ -303,7 +319,8 @@ int HomebrewBrowser::ReceiveFile()
return MENU_NONE;
}
bool error = false;
int error = 0;
while (read < infilesize)
{
ShowProgress(tr( "Receiving file from:" ), GetIncommingIP(), NULL, read, infilesize, true);
@ -329,7 +346,9 @@ int HomebrewBrowser::ReceiveFile()
}
char filename[101];
network_read(connection, (u8*) &filename, 100);
memset(filename, 0, sizeof(filename));
network_read(connection, (u8*) filename, 100);
// Do we need to unzip this thing?
if (wiiloadVersion[0] > 0 || wiiloadVersion[1] > 4)
@ -401,7 +420,7 @@ int HomebrewBrowser::ReceiveFile()
ProgressStop();
if (error || read != infilesize || strcasestr(filename, ".dol") || strcasestr(filename, ".elf"))
if (error || read != infilesize || (strcasestr(filename, ".dol") == 0 && strcasestr(filename, ".elf") == 0))
{
WindowPrompt(tr( "Error:" ), tr( "No data could be read." ), tr( "OK" ));
FreeHomebrewBuffer();

View File

@ -34,6 +34,7 @@ class HomebrewBrowser : public FlyingButtonsMenu
public:
HomebrewBrowser();
~HomebrewBrowser();
static int Execute();
virtual int MainLoop();
protected:
void MainButtonClicked(int index);

View File

@ -1,4 +1,5 @@
#include "settings/CSettings.h"
#include "utils/tools.h"
#include "Text.hpp"
Text::Text(const char * t, int s, GXColor c) :
@ -313,11 +314,11 @@ void Text::Draw()
GXColor c = color;
c.a = this->GetAlpha();
int newSize = size * GetScale() * Settings.FontScaleFactor;
int newSize = (int) (size * GetScale() * Settings.FontScaleFactor);
if (newSize != currentSize)
{
currentSize = newSize;
currentSize = LIMIT(newSize, 1, 100);
if (wText) textWidth = (font ? font : fontSystem)->getWidth(wText->data(), currentSize);
}

View File

@ -487,7 +487,7 @@ void GuiCustomOptionBrowser::Update(GuiTrigger * t)
scrollbarBoxBtn->SetPosition(width / 2 - 18 + 7, 0);
int position = t->wpad.ir.y - scrollbarBoxBtn->GetHeight()/2 - scrollbarBoxBtn->GetTop();
position = cut_bounds(position, 0, 237);
position = LIMIT(position, 0, 237);
listOffset = (int) (((float) position / 237.0f)*length);
selectedItem = (int) (((float) listOffset / (float) length)*(PAGESIZE-1));

View File

@ -213,6 +213,9 @@ int GuiGameCarousel::GetClickedOption()
int found = -1;
if (clickedItem >= 0)
{
for (int i = pagesize - 1; i >= 0; i--)
game[i]->ResetState();
game[clickedItem]->SetState(STATE_SELECTED);
found = gameIndex[clickedItem];
clickedItem = -1;

View File

@ -11,6 +11,7 @@
#include "gui.h"
#include "wstring.hpp"
#include "settings/CSettings.h"
#include "utils/tools.h"
#define MAX_LINES_TO_DRAW 9
@ -527,11 +528,11 @@ void GuiText::Draw()
GXColor c = color;
c.a = GetAlpha();
int newSize = size * GetScale() * Settings.FontScaleFactor;
int newSize = (int) (size * GetScale() * Settings.FontScaleFactor);
if (newSize != currentSize)
{
currentSize = newSize;
currentSize = LIMIT(newSize, 1, 100);
if (text) textWidth = (font ? font : fontSystem)->getWidth(text, currentSize);
}

View File

@ -6,26 +6,26 @@ extern "C"
{
#endif
#define Disc_ID ((u32*) 0x80000000)
#define Disc_Region ((u32*) 0x80000003)
#define Disc_Magic ((u32*) 0x80000018)
#define Sys_Magic ((u32*) 0x80000020)
#define Version ((u32*) 0x80000024)
#define Mem_Size ((u32*) 0x80000028)
#define Board_Model ((u32*) 0x8000002C)
#define Arena_L ((u32*) 0x80000030)
#define Arena_H ((u32*) 0x80000034)
#define FST ((u32*) 0x80000038)
#define Max_FST ((u32*) 0x8000003C)
#define Assembler ((u32*) 0x80000060)
#define Video_Mode ((u32*) 0x800000CC)
#define Dev_Debugger ((u32*) 0x800000EC)
#define Simulated_Mem ((u32*) 0x800000F0)
#define BI2 ((u32*) 0x800000F4)
#define Bus_Speed ((u32*) 0x800000F8)
#define CPU_Speed ((u32*) 0x800000FC)
#define Online_Check ((u32*) 0x80003180)
#define GameID_Address ((u32*) 0x80003184)
#define Disc_ID ((vu32*) 0x80000000)
#define Disc_Region ((vu32*) 0x80000003)
#define Disc_Magic ((vu32*) 0x80000018)
#define Sys_Magic ((vu32*) 0x80000020)
#define Version ((vu32*) 0x80000024)
#define Mem_Size ((vu32*) 0x80000028)
#define Board_Model ((vu32*) 0x8000002C)
#define Arena_L ((vu32*) 0x80000030)
#define Arena_H ((vu32*) 0x80000034)
#define FST ((vu32*) 0x80000038)
#define Max_FST ((vu32*) 0x8000003C)
#define Assembler ((vu32*) 0x80000060)
#define Video_Mode ((vu32*) 0x800000CC)
#define Dev_Debugger ((vu32*) 0x800000EC)
#define Simulated_Mem ((vu32*) 0x800000F0)
#define BI2 ((vu32*) 0x800000F4)
#define Bus_Speed ((vu32*) 0x800000F8)
#define CPU_Speed ((vu32*) 0x800000FC)
#define Online_Check ((vu32*) 0x80003180)
#define GameID_Address ((vu32*) 0x80003184)
#define allocate_memory(size) memalign(32, (size+31)&(~31))

View File

@ -11,7 +11,7 @@
#include "libwiigui/gui.h"
#include "homebrewboot/BootHomebrew.h"
#include "homebrewboot/HomebrewBrowse.h"
#include "homebrewboot/HomebrewBrowser.hpp"
#include "prompts/ProgressWindow.h"
#include "menu/GameBrowseMenu.hpp"
#include "menu/menus.h"
@ -227,7 +227,7 @@ int MainMenu(int menu)
currentMenu = ThemeDownloader::Run();
break;
case MENU_HOMEBREWBROWSE:
currentMenu = MenuHomebrewBrowse();
currentMenu = HomebrewBrowser::Execute();
break;
case MENU_DISCLIST:
default: // unrecognized menu

View File

@ -449,7 +449,7 @@ GameBrowseMenu::~GameBrowseMenu()
delete DownloadBtnTT;
delete IDBtnTT;
lastSelectedGame = cut_bounds(GetSelectedGame(), 0, gameList.size()-1);
lastSelectedGame = LIMIT(GetSelectedGame(), 0, gameList.size()-1);
delete gameBrowser;
delete gameGrid;
@ -573,9 +573,9 @@ void GameBrowseMenu::ReloadBrowser()
}
if(GetSelectedGame() >= 0)
lastSelectedGame = cut_bounds(GetSelectedGame(), 0, gameList.size()-1);
lastSelectedGame = LIMIT(GetSelectedGame(), 0, gameList.size()-1);
else
lastSelectedGame = cut_bounds(lastSelectedGame, 0, gameList.size()-1);
lastSelectedGame = LIMIT(lastSelectedGame, 0, gameList.size()-1);
delete gameBrowser;
delete gameGrid;

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
#define size_ehcmodule_5 25776
#define size_ehcmodule_5 25771
extern unsigned char ehcmodule_5[25776];
extern unsigned char ehcmodule_5[25771];

View File

@ -357,7 +357,6 @@ bool CheckConnection(const char *url, float timeout)
***************************************************************************/
int NetworkWait()
{
if (!checkincomming) return -3;
struct sockaddr_in sin;
@ -479,7 +478,6 @@ static void * networkinitcallback(void *arg)
//suspend thread
updatechecked = true;
networkHalt = true;
checkincomming = false;
}
if (checkincomming) NetworkWait();

View File

@ -161,7 +161,7 @@ int UpdateWiiTDB()
remove(ZipPath.c_str());
//! Reload all titles because the file changed now.
GameTitles.LoadTitlesFromWiiTDB(Settings.titlestxt_path);
GameTitles.LoadTitlesFromWiiTDB(Settings.titlestxt_path, true);
return (result ? filesize : -1);
}

View File

@ -242,9 +242,9 @@ void WindowCredits()
char SvnRev[30];
#ifdef FULLCHANNEL
snprintf(SvnRev, sizeof(SvnRev), "Rev%sc IOS%u (Rev %u)", GetRev(), IOS_GetVersion(), IOS_GetRevision());
snprintf(SvnRev, sizeof(SvnRev), "v2.1c RC1 IOS%u (Rev %u)", IOS_GetVersion(), IOS_GetRevision());
#else
snprintf(SvnRev, sizeof(SvnRev), "Rev%s IOS%u (Rev %u)", GetRev(), IOS_GetVersion(), IOS_GetRevision());
snprintf(SvnRev, sizeof(SvnRev), "v2.1 RC1 IOS%u (Rev %u)", IOS_GetVersion(), IOS_GetRevision());
#endif
txt[i] = new GuiText(SvnRev, 16, ( GXColor ) {255, 255, 255, 255});

View File

@ -199,7 +199,7 @@ void CGameTitles::RemoveUnusedCache(std::vector<std::string> &MissingTitles)
}
}
void CGameTitles::LoadTitlesFromWiiTDB(const char * path)
void CGameTitles::LoadTitlesFromWiiTDB(const char * path, bool forceCacheReload)
{
this->SetDefault();
@ -215,7 +215,7 @@ void CGameTitles::LoadTitlesFromWiiTDB(const char * path)
Filepath += "wiitdb.xml";
//! Read game titles cache database
if(Settings.CacheTitles)
if(!forceCacheReload && Settings.CacheTitles)
ReadCachedTitles(Cachepath.c_str());
//! Read game list

View File

@ -35,7 +35,7 @@ class CGameTitles
//! Get possible number of players for this game
int GetPlayersCount(const char * id) const;
//! Load Game Titles from WiiTDB
void LoadTitlesFromWiiTDB(const char * path);
void LoadTitlesFromWiiTDB(const char * path, bool forceCacheReload = false);
//! Set default game titles
void SetDefault();
protected:

View File

@ -31,6 +31,7 @@
#include "settings/GameTitles.h"
#include "xml/xml.h"
#include "usbloader/wbfs.h"
#include "utils/tools.h"
static const char * OnOffText[MAX_ON_OFF] =
{
@ -133,7 +134,7 @@ GuiSettingsMenu::GuiSettingsMenu()
GuiSettingsMenu::~GuiSettingsMenu()
{
if (Settings.titlesOverride != OldTitlesOverride)
GameTitles.LoadTitlesFromWiiTDB(Settings.titlestxt_path);
GameTitles.LoadTitlesFromWiiTDB(Settings.titlestxt_path, true);
}
void GuiSettingsMenu::SetOptionValues()
@ -296,7 +297,15 @@ int GuiSettingsMenu::GetMenuInternal()
snprintf(entrie, sizeof(entrie), "%0.3f", Settings.WSFactor);
int ret = OnScreenKeyboard(entrie, sizeof(entrie), 0);
if(ret)
Settings.WSFactor = atof(entrie);
{
for(u32 i = 0; i < sizeof(entrie); ++i)
{
if(entrie[i] == ',')
entrie[i] = '.';
}
Settings.WSFactor = LIMIT(atof(entrie), 0.01f, 1.5f);
}
}
//! Settings: Font Scale Factor
@ -306,7 +315,15 @@ int GuiSettingsMenu::GetMenuInternal()
snprintf(entrie, sizeof(entrie), "%0.3f", Settings.FontScaleFactor);
int ret = OnScreenKeyboard(entrie, sizeof(entrie), 0);
if(ret)
Settings.FontScaleFactor = atof(entrie);
{
for(u32 i = 0; i < sizeof(entrie); ++i)
{
if(entrie[i] == ',')
entrie[i] = '.';
}
Settings.FontScaleFactor = LIMIT(atof(entrie), 0.01f, 1.5f);
}
}
//! Settings: Keyboard

View File

@ -53,7 +53,7 @@ u32 GameBooter::BootPartition(char * dolpath, u8 videoselected, u8 languageChoic
u64 offset;
/* Find game partition offset */
ret = __Disc_FindPartition(&offset);
ret = Disc_FindPartition(&offset);
if (ret < 0)
return 0;
@ -69,7 +69,10 @@ u32 GameBooter::BootPartition(char * dolpath, u8 videoselected, u8 languageChoic
NSMBPatch();
/* Setup low memory */
__Disc_SetLowMem();
Disc_SetLowMem();
/* Setup video mode */
Disc_SelectVMode(videoselected);
/* Run apploader */
ret = Apploader_Run(&p_entry, dolpath, cheat, videoselected, languageChoice, vipatch, patchcountrystring,
@ -290,5 +293,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(videoChoice, enablecheat, WDMMenu::GetDolParameter());
return Disc_JumpToEntrypoint(enablecheat, WDMMenu::GetDolParameter());
}

View File

@ -26,8 +26,10 @@
/* Disc pointers */
static u32 *buffer = (u32 *) 0x93000000;
static u8 *diskid = (u8 *) Disc_ID;
static GXRModeObj *vmode = NULL;
static u32 vmode_reg = 0;
void __Disc_SetLowMem(void)
void Disc_SetLowMem(void)
{
*Sys_Magic = 0x0D15EA5E; // Standard Boot Code
@ -57,108 +59,98 @@ void __Disc_SetLowMem(void)
DCFlushRange((void *) Disc_ID, 0x3F00);
}
void __Disc_SetVMode(u8 videoselected)
void Disc_SelectVMode(u8 videoselected)
{
GXRModeObj *vmode = NULL;
u32 progressive, tvmode, vmode_reg = 0;
vmode = VIDEO_GetPreferredMode(0);
/* Get video mode configuration */
progressive = (CONF_GetProgressiveScan() > 0) && VIDEO_HaveComponentCable();
tvmode = CONF_GetVideo();
bool progressive = (CONF_GetProgressiveScan() > 0) && VIDEO_HaveComponentCable();
/* Select video mode register */
switch (tvmode)
switch (CONF_GetVideo())
{
case CONF_VIDEO_PAL:
vmode_reg = (CONF_GetEuRGB60() > 0) ? 5 : 1;
if (CONF_GetEuRGB60() > 0)
{
vmode_reg = VI_EURGB60;
vmode = progressive ? &TVNtsc480Prog : &TVEurgb60Hz480IntDf;
}
else
vmode_reg = VI_PAL;
break;
case CONF_VIDEO_MPAL:
vmode_reg = 4;
vmode_reg = VI_MPAL;
break;
case CONF_VIDEO_NTSC:
vmode_reg = 0;
vmode_reg = VI_NTSC;
break;
}
switch (videoselected)
{
case VIDEO_MODE_PAL50:
vmode = &TVPal528IntDf;
vmode_reg = (vmode->viTVMode) >> 2;
break;
case VIDEO_MODE_PAL60:
vmode = (progressive) ? &TVNtsc480Prog : &TVEurgb60Hz480IntDf;
vmode_reg = (vmode->viTVMode) >> 2;
break;
case VIDEO_MODE_NTSC:
vmode = (progressive) ? &TVNtsc480Prog : &TVNtsc480IntDf;
vmode_reg = (vmode->viTVMode) >> 2;
break;
default:
case VIDEO_MODE_SYSDEFAULT:
// vmode = VIDEO_GetPreferredMode(NULL);
break;
case VIDEO_MODE_DISCDEFAULT:
case VIDEO_MODE_DISCDEFAULT: // DEFAULT (DISC/GAME)
/* Select video mode */
switch (diskid[3])
{
/* PAL */
case 'P':
// PAL
case 'D':
case 'F':
case 'I':
case 'S':
case 'H':
case 'P':
case 'X':
case 'Y':
case 'Z':
if (tvmode != CONF_VIDEO_PAL)
if (CONF_GetVideo() != CONF_VIDEO_PAL)
{
vmode_reg = 5;
vmode = (progressive) ? &TVNtsc480Prog : &TVEurgb60Hz480IntDf;
vmode_reg = VI_PAL;
vmode = progressive ? &TVNtsc480Prog : &TVNtsc480IntDf;
}
break;
/* NTSC or unknown */
// NTSC
case 'E':
case 'J':
case 'K':
case 'W':
if (tvmode != CONF_VIDEO_NTSC)
default:
if (CONF_GetVideo() != CONF_VIDEO_NTSC)
{
vmode_reg = 0;
vmode = (progressive) ? &TVNtsc480Prog : &TVNtsc480IntDf;
vmode_reg = VI_NTSC;
vmode = progressive ? &TVNtsc480Prog : &TVEurgb60Hz480IntDf;
}
break;
}
break;
case VIDEO_MODE_PAL50: // PAL50
vmode = &TVPal528IntDf;
vmode_reg = vmode->viTVMode >> 2;
break;
case VIDEO_MODE_PAL60: // PAL60
vmode = progressive ? &TVNtsc480Prog : &TVEurgb60Hz480IntDf;
vmode_reg = progressive ? TVEurgb60Hz480Prog.viTVMode >> 2 : vmode->viTVMode >> 2;
break;
case VIDEO_MODE_NTSC: // NTSC
vmode = progressive ? &TVNtsc480Prog : &TVNtsc480IntDf;
vmode_reg = vmode->viTVMode >> 2;
break;
case VIDEO_MODE_SYSDEFAULT: // AUTO PATCH TO SYSTEM
break;
}
}
void __Disc_SetVMode(void)
{
/* Set video mode register */
*Video_Mode = vmode_reg;
/* Set video mode */
if (vmode)
{
if (vmode != NULL)
VIDEO_Configure(vmode);
/* Setup video */
VIDEO_SetBlack(FALSE);
VIDEO_Flush();
VIDEO_WaitVSync();
if (vmode->viTVMode & VI_NON_INTERLACE) VIDEO_WaitVSync();
}
gprintf("Video mode - %s\n", ((progressive) ? "progressive" : "interlaced"));
if (vmode->viTVMode & VI_NON_INTERLACE)
VIDEO_WaitVSync();
}
void __Disc_SetTime(void)
@ -170,7 +162,7 @@ void __Disc_SetTime(void)
settime(secs_to_ticks( time( NULL ) - 946684800 ));
}
s32 __Disc_FindPartition(u64 *outbuf)
s32 Disc_FindPartition(u64 *outbuf)
{
u64 offset = 0, table_offset = 0;
@ -269,10 +261,10 @@ s32 Disc_IsWii(void)
return 0;
}
s32 Disc_JumpToEntrypoint(u8 videoselected, bool enablecheat, u32 dolparameter)
s32 Disc_JumpToEntrypoint(bool enablecheat, u32 dolparameter)
{
/* Set an appropiate video mode */
__Disc_SetVMode(videoselected);
__Disc_SetVMode();
/* Set time */
__Disc_SetTime();

View File

@ -46,14 +46,14 @@ extern "C"
s32 Disc_Init(void);
s32 Disc_Open(void);
s32 Disc_Wait(void);
void __Disc_SetLowMem(void);
void Disc_SetLowMem(void);
s32 Disc_SetUSB(const u8 *);
s32 Disc_ReadHeader(void *);
s32 Disc_IsWii(void);
s32 __Disc_FindPartition(u64 *outbuf);
s32 Disc_FindPartition(u64 *outbuf);
void PatchCountryStrings(void *Address, int Size);
s32 __Disc_FindPartition(u64 *outbuf);
s32 Disc_JumpToEntrypoint(u8 videoselected, bool enablecheat, u32 dolparameter);
void Disc_SelectVMode(u8 videoselected);
s32 Disc_JumpToEntrypoint(bool enablecheat, u32 dolparameter);
#ifdef __cplusplus
}

View File

@ -1,7 +1,7 @@
#ifndef TOOLS_H_
#define TOOLS_H_
#define cut_bounds(x, min, max) ( ((x) < (min)) ? (min) : ((x) > (max)) ? (max) : (x) )
#define LIMIT(x, min, max) ( ((x) < (min)) ? (min) : ((x) > (max)) ? (max) : (x) )
#define ALIGN(x) (((x) + 3) & ~3)
#define ALIGN32(x) (((x) + 31) & ~31)

View File

@ -36,7 +36,7 @@ EOF
echo >&2
rev_new=`expr $rev_new + 1`
rev_date=`date +%Y%m%d%H%M -u`
rev_date=`date -u +%Y%m%d%H%M`
cat <<EOF > ./HBC/META.XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>