mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 11:49:15 +01:00
- make sure auto cios chooses a base of 56 or higher.
- change second i to j to fix a possible boot arg issue.
This commit is contained in:
parent
80e4ed0170
commit
d24a16e5c3
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 4.4 MiB |
@ -65,9 +65,9 @@ int main(int argc, char **argv)
|
||||
else if(strlen(argv[i]) == 6 || strlen(argv[i]) == 4)
|
||||
{
|
||||
strcpy(gameid, argv[i]);
|
||||
for(u8 i = 0; i < strlen(gameid) - 1; i++)
|
||||
for(u8 j = 0; j < strlen(gameid) - 1; j++)
|
||||
{
|
||||
if(!isalnum(gameid[i]))
|
||||
if(!isalnum(gameid[j]))
|
||||
{
|
||||
gameid[0] = 0;
|
||||
break;
|
||||
|
@ -775,7 +775,7 @@ int CMenu::_loadGameIOS(u8 gameIOS, int userIOS, const char *id, bool RealNAND_C
|
||||
{
|
||||
for(CIOSItr itr = _cios_base.begin(); itr != _cios_base.end(); itr++)
|
||||
{
|
||||
if(itr->first > gameIOS && itr->first != 38)//compare bases
|
||||
if(itr->first > gameIOS && itr->first >= 56)//compare bases
|
||||
{
|
||||
slot = itr->second;// set to cios slot
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user