* Changed partition detection for DIOS MIOS to allow logical

partition located before primary partition. (Thanks RCJayce)
* Changed partition detection for Nintendont to allow logical
  and primary partitions before the first FAT32 partition.
  (ex. NTFS primary+FAT32 primary)
* Moved IsWiiU() function to sys.c

* Fixed French language file
This commit is contained in:
Cyan 2015-02-14 15:41:20 +00:00
parent 6bad59d7d0
commit 644e96b2d9
31 changed files with 179 additions and 124 deletions

View File

@ -2,8 +2,8 @@
<app version="1"> <app version="1">
<name> USB Loader GX</name> <name> USB Loader GX</name>
<coder>USB Loader GX Team</coder> <coder>USB Loader GX Team</coder>
<version>3.0 r1238</version> <version>3.0 r1241</version>
<release_date>20150119224319</release_date> <release_date>20150214152922</release_date>
<!-- // remove this line to enable arguments <!-- // remove this line to enable arguments
<arguments> <arguments>
<arg>--ios=250</arg> <arg>--ios=250</arg>

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+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" "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" "Language-Team: r1056 - last version on http://djelinek.sweb.cz/_USBLoderGX/czech.lang \n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Fox888[dk]\n" "Last-Translator: Fox888[dk]\n"
"Language-Team: [dk]\n" "Language-Team: [dk]\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -2044,12 +2044,12 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "Om GameCube games met %s te spelen moet je ze op een USB FAT32 partitie plaatsen." msgstr "Om GameCube games met %s te spelen moet je ze op een USB FAT32 partitie plaatsen."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "Om GameCube spellen met %s te spelen moet je je 'Hoofd GameCube Pad' op een primary partitie zetten." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "Om GameCube spellen met %s te spelen moet je je 'Hoofd GameCube Pad' op de eerste partitie van de hardeschijf zetten." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition."
@ -2367,6 +2367,12 @@ msgstr "van"
msgid "seconds left" msgid "seconds left"
msgstr "seconde resterend" msgstr "seconde resterend"
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."
#~ msgstr "Om GameCube spellen met %s te spelen moet je je 'Hoofd GameCube Pad' op een primary partitie zetten."
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."
#~ msgstr "Om GameCube spellen met %s te spelen moet je je 'Hoofd GameCube Pad' op de eerste partitie van de hardeschijf zetten."
#~ msgid "Error 002 fix" #~ msgid "Error 002 fix"
#~ msgstr "Herstel fout 002" #~ msgstr "Herstel fout 002"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: c64rmx\n" "Last-Translator: c64rmx\n"
"Language-Team: \n" "Language-Team: \n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -1,11 +1,11 @@
# USB Loader GX language source file. # USB Loader GX language source file.
# French.lang - r1235 # French.lang - r1241
# don't delete/change this line (é). # don't delete/change this line (é).
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Cyan\n" "Last-Translator: Cyan\n"
"Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n" "Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n"
@ -2044,20 +2044,20 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "Pour lancer les jeux GameCube avec %s vous devez les copier sur une partition USB FAT32." msgstr "Pour lancer les jeux GameCube avec %s vous devez les copier sur une partition USB FAT32."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "Pour lancer les jeux GameCube avec %s vouz devez placer votre 'Dossier GameCube principal' sur une partition principale." msgstr "Pour lancer les jeux GameCube avec %s vouz devez placer votre 'Dossier GameCube principal' sur la premiere partition principale FAT32."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "Pour lancer les jeux GameCube avec %s vouz devez placer votre 'Dossier GameCube principal' sur la 1ère partition du disque dur." msgstr "Pour lancer les jeux GameCube avec %s vous devez placer votre 'Dossier GameCube principal' sur la 1ère partition principale du disque dur."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition."
msgstr "Pour lancer les jeux GameCube avec %s vouz devez placer votre 'Dossier GameCube principal' sur une partition USB FAT32." msgstr "Pour lancer les jeux GameCube avec %s vous devez placer votre 'Dossier GameCube principal' sur une partition USB FAT32."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to use a 512 bytes/sector Hard Drive." msgid "To run GameCube games with %s you need to use a 512 bytes/sector Hard Drive."
msgstr "Pour lancer les jeux GameCube avec %s vouz devez utiliser un disque dur avec 512 octets par secteur." msgstr "Pour lancer les jeux GameCube avec %s vous devez utiliser un disque dur avec 512 octets par secteur."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to use a partition with 32k bytes/cluster or less." msgid "To run GameCube games with %s you need to use a partition with 32k bytes/cluster or less."
@ -2367,6 +2367,12 @@ msgstr "sur"
msgid "seconds left" msgid "seconds left"
msgstr "secondes restantes" msgstr "secondes restantes"
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."
#~ msgstr "Pour lancer les jeux GameCube avec %s vouz devez placer votre 'Dossier GameCube principal' sur une partition principale."
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."
#~ msgstr "Pour lancer les jeux GameCube avec %s vouz devez placer votre 'Dossier GameCube principal' sur la 1ère partition du disque dur."
#~ msgid "Error 002 fix" #~ msgid "Error 002 fix"
#~ msgstr "Correctif Erreur 002" #~ msgstr "Correctif Erreur 002"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2010-07-03 17:35-0800\n" "PO-Revision-Date: 2010-07-03 17:35-0800\n"
"Last-Translator: Sabykos\n" "Last-Translator: Sabykos\n"
"Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n" "Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n"
@ -2044,12 +2044,12 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "Deine Festplatte muss auf FAT32 formatiert sein, um GameCube Spiele mit %s% starten zu können." msgstr "Deine Festplatte muss auf FAT32 formatiert sein, um GameCube Spiele mit %s% starten zu können."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "Dein GameCube Hauptpfad muss auf eine primäre Partition verweisen, um GameCube Spiele mit %s% starten zu können." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "Dein GameCube Hauptpfad muss auf die erste Partition deiner Festplatte verweisen, um GameCube Spiele mit %s% starten zu können." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition."
@ -2367,6 +2367,12 @@ msgstr "von"
msgid "seconds left" msgid "seconds left"
msgstr "Sekunden verbleiben" msgstr "Sekunden verbleiben"
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."
#~ msgstr "Dein GameCube Hauptpfad muss auf eine primäre Partition verweisen, um GameCube Spiele mit %s% starten zu können."
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."
#~ msgstr "Dein GameCube Hauptpfad muss auf die erste Partition deiner Festplatte verweisen, um GameCube Spiele mit %s% starten zu können."
#~ msgid "Anti" #~ msgid "Anti"
#~ msgstr "Anti" #~ msgstr "Anti"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"Last-Translator: nakata6790\n" "Last-Translator: nakata6790\n"
"Language-Team: nakata6790 (aka0107@gmail.com)\n" "Language-Team: nakata6790 (aka0107@gmail.com)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -2043,11 +2043,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-12-29 11:05+0100\n" "PO-Revision-Date: 2009-12-29 11:05+0100\n"
"Last-Translator: Springdale\n" "Last-Translator: Springdale\n"
"Language-Team: Tusk, Springdale\n" "Language-Team: Tusk, Springdale\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2011-09-11 12:19+0100\n" "PO-Revision-Date: 2011-09-11 12:19+0100\n"
"Last-Translator: xFede\n" "Last-Translator: xFede\n"
"Language-Team: xFede (fedeanto11@gmail.com)\n" "Language-Team: xFede (fedeanto11@gmail.com)\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: hosigumayuugi\n" "Last-Translator: hosigumayuugi\n"
"Language-Team: hosigumayuugi\n" "Language-Team: hosigumayuugi\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nextos@korea.com\n" "Last-Translator: nextos@korea.com\n"
"Language-Team: \n" "Language-Team: \n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: raschi\n" "Last-Translator: raschi\n"
"Language-Team: raschi\n" "Language-Team: raschi\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n" "Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n" "Language-Team: \n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2011-11-03 11:00+0000\n" "PO-Revision-Date: 2011-11-03 11:00+0000\n"
"Last-Translator: Codemaster <javafangamers@hotmail.com>\n" "Last-Translator: Codemaster <javafangamers@hotmail.com>\n"
"Language-Team: Sky8000, pplucky\n" "Language-Team: Sky8000, pplucky\n"
@ -2044,12 +2044,12 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "Para rodar jogos de GameCube com %s, você precisa de um drive USB formatado em FAT32." msgstr "Para rodar jogos de GameCube com %s, você precisa de um drive USB formatado em FAT32."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "Para rodar jogos de GameCube com %s, você precisa escolher uma pasta que esteja numa partição primária." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "Para rodar jogos de GameCube com %s, você precisa escolher uma pasta que esteja na primeira partição do disco rígido." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition."
@ -2366,3 +2366,9 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."
#~ msgstr "Para rodar jogos de GameCube com %s, você precisa escolher uma pasta que esteja numa partição primária."
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."
#~ msgstr "Para rodar jogos de GameCube com %s, você precisa escolher uma pasta que esteja na primeira partição do disco rígido."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2011-11-03 11:00+0000\n" "PO-Revision-Date: 2011-11-03 11:00+0000\n"
"Last-Translator: pplucky <pplucky@gmail.com>\n" "Last-Translator: pplucky <pplucky@gmail.com>\n"
"Language-Team: Sky8000, pplucky\n" "Language-Team: Sky8000, pplucky\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nikolai_ca\n" "Last-Translator: nikolai_ca\n"
"Language-Team: Kir, alendit, nikolai_ca\n" "Language-Team: Kir, alendit, nikolai_ca\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2013-08-13 07:03+0800\n" "PO-Revision-Date: 2013-08-13 07:03+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: oCameLo\n" "Language-Team: oCameLo\n"
@ -2044,12 +2044,12 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "为了运行Gamecube游戏需要用%s替换在fat32分区usb上面的内容。" msgstr "为了运行Gamecube游戏需要用%s替换在fat32分区usb上面的内容。"
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "为了运行Gamecube游戏需要用%s设置你的'主Gamecube路径'在主分区上." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "为了运行Gamecube游戏需要用%s设置你的'主Gamecube路径'在第一个主分区上." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition."
@ -2367,6 +2367,12 @@ msgstr "的"
msgid "seconds left" msgid "seconds left"
msgstr "剩余秒数" msgstr "剩余秒数"
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."
#~ msgstr "为了运行Gamecube游戏需要用%s设置你的'主Gamecube路径'在主分区上."
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."
#~ msgstr "为了运行Gamecube游戏需要用%s设置你的'主Gamecube路径'在第一个主分区上."
#~ msgid "Error 002 fix" #~ msgid "Error 002 fix"
#~ msgstr "002 错误修正" #~ msgstr "002 错误修正"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2011-07-25 16:40+0200\n" "PO-Revision-Date: 2011-07-25 16:40+0200\n"
"Last-Translator: Galen/xFede\n" "Last-Translator: Galen/xFede\n"
"Language-Team: Penn, SirPalax, hvy109\n" "Language-Team: Penn, SirPalax, hvy109\n"
@ -2044,12 +2044,12 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "Para cargar juegos de GameCube con %s debes ponerlos en un USB con formato FAT32." msgstr "Para cargar juegos de GameCube con %s debes ponerlos en un USB con formato FAT32."
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "Para cargar juegos de GameCube con %s debes configurar tu Ruta GameCube principal en una partición primaria." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "Para cargar juegos de GameCube con %s debes configurar tu Ruta GameCube principal en la primer partición del USB." msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' to an USB FAT32 partition."
@ -2367,6 +2367,12 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."
#~ msgstr "Para cargar juegos de GameCube con %s debes configurar tu Ruta GameCube principal en una partición primaria."
#~ msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."
#~ msgstr "Para cargar juegos de GameCube con %s debes configurar tu Ruta GameCube principal en la primer partición del USB."
#~ msgid "Anti" #~ msgid "Anti"
#~ msgstr "Anti" #~ msgstr "Anti"
@ -2561,4 +2567,3 @@ msgstr "segundos restantes"
#~ msgid "for WiiTDB and hosting covers / disc images" #~ msgid "for WiiTDB and hosting covers / disc images"
#~ msgstr "por WiiTDB y alojar carátulas e imágenes" #~ msgstr "por WiiTDB y alojar carátulas e imágenes"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2010-01-19 17:39+0200\n" "PO-Revision-Date: 2010-01-19 17:39+0200\n"
"Last-Translator: Katsurou\n" "Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n" "Language-Team: Katsurou, pirateX\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2010-02-15 21:00+0800\n" "PO-Revision-Date: 2010-02-15 21:00+0800\n"
"Last-Translator: Jane.H\n" "Last-Translator: Jane.H\n"
"Language-Team: kyogc, Miller, Mika Li, Jane.H\n" "Language-Team: kyogc, Miller, Mika Li, Jane.H\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Nitro_subzero \n" "Last-Translator: Nitro_subzero \n"
"Language-Team: Nitro_subzero\n" "Language-Team: Nitro_subzero\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-04 21:00+0100\n" "POT-Creation-Date: 2015-02-14 16:29+0100\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: omercigingelini\n" "Last-Translator: omercigingelini\n"
"Language-Team: omercigingelini\n" "Language-Team: omercigingelini\n"
@ -2044,11 +2044,11 @@ msgid "To run GameCube games with %s you need to place them on an USB FAT32 part
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."
msgstr "" msgstr ""
#, c-format #, c-format
msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive." msgid "To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."
msgstr "" msgstr ""
#, c-format #, c-format

View File

@ -41,6 +41,7 @@
#include "language/gettext.h" #include "language/gettext.h"
#include "wad/nandtitle.h" #include "wad/nandtitle.h"
#include "wad/wad.h" #include "wad/wad.h"
#include "sys.h"
static const char * OnOffText[] = static const char * OnOffText[] =
{ {
@ -553,7 +554,7 @@ int FeatureSettingsMenu::GetMenuInternal()
// WiiU Aspect switcher (Thanks Tueidj) // WiiU Aspect switcher (Thanks Tueidj)
else if (ret == ++Idx) else if (ret == ++Idx)
{ {
if((*(vu32*)(0xCD8005A0) >> 16 ) == 0xCAFE) // vWii only if(isWiiU()) // vWii only
{ {
if( read32(0xd8006a0) == 0x30000004) if( read32(0xd8006a0) == 0x30000004)
{ {

View File

@ -292,3 +292,12 @@ void ScreenShot()
TakeScreenshot(fullPath); TakeScreenshot(fullPath);
} }
/*
* Check if the current console is a Wii or WiiU
* Thanks to Crediar
*/
bool isWiiU()
{
return ((*(vu32*)(0xCD8005A0) >> 16 ) == 0xCAFE);
}

View File

@ -15,6 +15,7 @@ void Sys_LoadMenu(void);
void Sys_BackToLoader(void); void Sys_BackToLoader(void);
void Sys_LoadHBC(void); void Sys_LoadHBC(void);
bool RebootApp(void); bool RebootApp(void);
void ScreenShot(); void ScreenShot(void);
bool isWiiU(void);
#endif #endif

View File

@ -2,6 +2,7 @@
#include <ogc/machine/processor.h> #include <ogc/machine/processor.h>
#include "IosLoader.h" #include "IosLoader.h"
#include "sys.h"
#include "Controls/DeviceHandler.hpp" #include "Controls/DeviceHandler.hpp"
#include "usbloader/usbstorage2.h" #include "usbloader/usbstorage2.h"
#include "usbloader/disc.h" #include "usbloader/disc.h"
@ -523,15 +524,6 @@ bool IosLoader::is_NandEmu_compatible(const char *NandEmuPath, s32 ios)
return true; return true;
} }
/*
* Check if the current console is a Wii or WiiU
* Thanks to Crediar
*/
bool IosLoader::isWiiU()
{
return ((*(vu32*)(0xCD8005A0) >> 16 ) == 0xCAFE);
}
/****************************************************************************** /******************************************************************************
* Private/Protected Methods: * Private/Protected Methods:
******************************************************************************/ ******************************************************************************/

View File

@ -95,7 +95,6 @@ class IosLoader
static u8 GetMIOSInfo(); static u8 GetMIOSInfo();
static u8 GetDMLVersion(char* releaseDate = NULL); static u8 GetDMLVersion(char* releaseDate = NULL);
static bool is_NandEmu_compatible(const char *NandEmuPath, s32 ios = IOS_GetVersion()); static bool is_NandEmu_compatible(const char *NandEmuPath, s32 ios = IOS_GetVersion());
static bool isWiiU();
private: private:
static void LoadIOSModules(s32 ios, s32 ios_rev); static void LoadIOSModules(s32 ios, s32 ios_rev);
}; };

View File

@ -462,21 +462,26 @@ int GameBooter::BootDIOSMIOS(struct discHdr *gameHdr)
return 0; return 0;
} }
// Check if the partition is the first partition on the drive // Check if the partition is the first primary partition on the drive
int part_num = atoi(Settings.GameCubePath+3); bool found = false;
int portPart = DeviceHandler::PartitionToPortPartition(part_num-USB1); int USB_partNum = DeviceHandler::PathToDriveType(Settings.GameCubePath)-USB1;
int usbport = DeviceHandler::PartitionToUSBPort(part_num-USB1); int USBport_partNum = DeviceHandler::PartitionToPortPartition(USB_partNum);
PartitionHandle * usbHandle = DeviceHandler::Instance()->GetUSBHandleFromPartition(part_num-USB1); int usbport = DeviceHandler::PartitionToUSBPort(USB_partNum);
if(usbHandle->GetPartitionNum(portPart)) PartitionHandle * usbHandle = DeviceHandler::Instance()->GetUSBHandleFromPartition(USB_partNum);
for(int partition = 0 ; partition <= USBport_partNum; partition++)
{ {
WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."),LoaderName), tr("OK")); if(usbHandle->GetPartitionTableType(partition) != MBR)
return 0; continue;
if(partition == USBport_partNum)
{
found = true;
break;
}
} }
if(!found)
// Check if the partition is primary
if(usbHandle->GetPartitionTableType(portPart) != MBR)
{ {
WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."),LoaderName), tr("OK")); WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary partition of the Hard Drive."),LoaderName), tr("OK"));
return 0; return 0;
} }
@ -487,7 +492,7 @@ int GameBooter::BootDIOSMIOS(struct discHdr *gameHdr)
return 0; return 0;
} }
if(usbHandle->GetPartitionClusterSize(usbHandle->GetLBAStart(portPart)) > 32768) if(usbHandle->GetPartitionClusterSize(usbHandle->GetLBAStart(USBport_partNum)) > 32768)
{ {
WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to use a partition with 32k bytes/cluster or less."),LoaderName), tr("OK")); WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to use a partition with 32k bytes/cluster or less."),LoaderName), tr("OK"));
return 0; return 0;
@ -973,20 +978,32 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
return 0; return 0;
} }
// Check if the partition is the first partition on the drive // Check if the partition is a primary
int part_num = atoi(Settings.GameCubePath+3); int USB_partNum = DeviceHandler::PathToDriveType(Settings.GameCubePath)-USB1;
int portPart = DeviceHandler::PartitionToPortPartition(part_num-USB1); int USBport_partNum = DeviceHandler::PartitionToPortPartition(USB_partNum);
PartitionHandle * usbHandle = DeviceHandler::Instance()->GetUSBHandleFromPartition(part_num-USB1); PartitionHandle * usbHandle = DeviceHandler::Instance()->GetUSBHandleFromPartition(USB_partNum);
if(usbHandle->GetPartitionNum(portPart)) if(usbHandle->GetPartitionTableType(USBport_partNum) != MBR)
{ {
WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to set your 'Main GameCube Path' on the first partition of the Hard Drive."),LoaderName), tr("OK")); WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."),LoaderName), tr("OK"));
return 0; return 0;
} }
// Check if the partition is primary // check if the partition is the first FAT32 of the drive
if(usbHandle->GetPartitionTableType(portPart) != MBR) bool found = false;
for(int partition = 0 ; partition <= USBport_partNum; partition++)
{ {
WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to set your 'Main GameCube Path' on a primary partition."),LoaderName), tr("OK")); if(strncmp(usbHandle->GetFSName(partition), "FAT", 3) != 0)
continue;
if(partition == USBport_partNum)
{
found = true;
break;
}
}
if(!found)
{
WindowPrompt(tr("Error:"), fmt(tr("To run GameCube games with %s you need to set your 'Main GameCube Path' on the first primary FAT32 partition."),LoaderName), tr("OK"));
return 0; return 0;
} }
} }
@ -1304,7 +1321,7 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
// Set other settings // Set other settings
if(ninDebugChoice && !IosLoader::isWiiU()) // only on Wii if(ninDebugChoice && !isWiiU()) // only on Wii
nin_config->Config |= ninDebugChoice == ON ? NIN_CFG_DEBUGGER : NIN_CFG_DEBUGGER | NIN_CFG_DEBUGWAIT; nin_config->Config |= ninDebugChoice == ON ? NIN_CFG_DEBUGGER : NIN_CFG_DEBUGGER | NIN_CFG_DEBUGWAIT;
if(ninMCEmulationChoice) if(ninMCEmulationChoice)
nin_config->Config |= NIN_CFG_MEMCARDEMU; nin_config->Config |= NIN_CFG_MEMCARDEMU;

View File

@ -20,6 +20,7 @@
#include "ImageOperations/ImageWrite.h" #include "ImageOperations/ImageWrite.h"
#include "settings/CSettings.h" #include "settings/CSettings.h"
#include "input.h" #include "input.h"
#include "sys.h"
#include "gecko.h" #include "gecko.h"
#define GP_FIFO_SIZE (256 * 1024 * 3) #define GP_FIFO_SIZE (256 * 1024 * 3)
@ -115,7 +116,7 @@ void InitVideo()
VIDEO_Init(); VIDEO_Init();
// If WiiU - Force 16:9 aspect ratio based on WiiU settings // If WiiU - Force 16:9 aspect ratio based on WiiU settings
if((*(vu32*)(0xCD8005A0) >> 16 ) == 0xCAFE && Settings.widescreen) if(isWiiU() && Settings.widescreen)
{ {
write32(0xd8006a0, 0x30000004), mask32(0xd8006a8, 0, 2); write32(0xd8006a0, 0x30000004), mask32(0xd8006a8, 0, 2);
} }