mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-22 09:51:55 +01:00
* Fixed the bug introduced in r1208 preventing game launching
with non d2x cIOS.
This commit is contained in:
parent
5adbf57bf5
commit
ee5d6ed6b2
@ -2,8 +2,8 @@
|
||||
<app version="1">
|
||||
<name> USB Loader GX</name>
|
||||
<coder>USB Loader GX Team</coder>
|
||||
<version>3.0 r1208</version>
|
||||
<release_date>20130106131039</release_date>
|
||||
<version>3.0 r1209</version>
|
||||
<release_date>20130120104022</release_date>
|
||||
<!-- // remove this line to enable arguments
|
||||
<arguments>
|
||||
<arg>--ios=250</arg>
|
||||
|
@ -719,6 +719,7 @@ void GameWindow::BootGame(struct discHdr *header)
|
||||
snprintf(IDfull, sizeof(IDfull), "%s", (char *) header->id);
|
||||
|
||||
int gameIOS = game_cfg->ios == INHERIT ? Settings.cios : game_cfg->ios;
|
||||
int gameNandEmuMode = game_cfg->NandEmuMode == INHERIT ? Settings.NandEmuMode : game_cfg->NandEmuMode;
|
||||
|
||||
if (game_cfg->loadalternatedol == 2)
|
||||
{
|
||||
@ -771,7 +772,7 @@ void GameWindow::BootGame(struct discHdr *header)
|
||||
// Restrict emuNAND with Wii games only with d2x
|
||||
if(header->type == TYPE_GAME_WII_IMG || header->type == TYPE_GAME_WII_DISC)
|
||||
{
|
||||
if(!IosLoader::IsD2X(gameIOS))
|
||||
if(gameNandEmuMode && !IosLoader::IsD2X(gameIOS))
|
||||
{
|
||||
ShowError(tr("Launching Wii games with emulated nand only works on d2x cIOS! Change game IOS to a d2x cIOS first."));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user