mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 02:41:55 +01:00
- fix for sam & max and back to the future.
This commit is contained in:
parent
04cdd3de52
commit
cde0c4ab53
Binary file not shown.
@ -44,8 +44,8 @@ void Disc_SetLowMem(void)
|
||||
*Simulated_Mem = 0x01800000; // Simulated Memory Size
|
||||
*(vu32 *) 0xCD00643C = 0x00000000; // 32Mhz on Bus
|
||||
|
||||
if(CurrentIOS.Type != IOS_TYPE_HERMES && CurrentIOS.Revision >= 18)
|
||||
*GameID_Address = 0x80000000; // Fix for Sam & Max (WiiPower)
|
||||
//if(CurrentIOS.Type != IOS_TYPE_HERMES && CurrentIOS.Revision >= 18)
|
||||
*GameID_Address = 0x80000000; // Fix for Sam & Max (WiiPower) and Back to the Future.
|
||||
|
||||
/* Copy Disc ID */
|
||||
memcpy((void*)Online_Check, (void*)Disc_ID, 4);
|
||||
|
@ -169,29 +169,29 @@ u8 IOS_GetType(u8 slot)
|
||||
void IOS_GetCurrentIOSInfo()
|
||||
{
|
||||
memset(&CurrentIOS, 0, sizeof(IOS_Info));
|
||||
CurrentIOS.Version = IOS_GetVersion();
|
||||
CurrentIOS.Base = CurrentIOS.Version;
|
||||
CurrentIOS.Revision = IOS_GetRevision();
|
||||
CurrentIOS.Version = IOS_GetVersion();// Slot
|
||||
CurrentIOS.Base = CurrentIOS.Version;// Slot
|
||||
CurrentIOS.Revision = IOS_GetRevision();// ios version. example ios 58 v6176. cios versions are below.
|
||||
CurrentIOS.SubRevision = 0;
|
||||
CurrentIOS.Type = IOS_GetType(CurrentIOS.Version);
|
||||
if(CurrentIOS.Type == IOS_TYPE_D2X)
|
||||
{
|
||||
iosinfo_t *iosInfo = IOS_GetInfo(CurrentIOS.Version);
|
||||
CurrentIOS.Revision = iosInfo->version;
|
||||
CurrentIOS.Base = iosInfo->baseios;
|
||||
iosinfo_t *iosInfo = IOS_GetInfo(CurrentIOS.Version);// CurrentIOS.Version = slot number
|
||||
CurrentIOS.Revision = iosInfo->version;// v6 thru 11
|
||||
CurrentIOS.Base = iosInfo->baseios;// base 38, 56, 57,58
|
||||
gprintf("D2X IOS%i[%i] v%i\n", CurrentIOS.Version, CurrentIOS.Base, CurrentIOS.Revision);
|
||||
MEM2_free(iosInfo);
|
||||
}
|
||||
else if(CurrentIOS.Type == IOS_TYPE_WANIN)
|
||||
{
|
||||
if(CurrentIOS.Revision >= 18)
|
||||
if(CurrentIOS.Revision >= 18)// v13 thru 21
|
||||
CurrentIOS.Base = wanin_mload_get_IOS_base();
|
||||
gprintf("Waninkoko IOS%i[%i] v%i\n", CurrentIOS.Version, CurrentIOS.Base, CurrentIOS.Revision);
|
||||
}
|
||||
else if(CurrentIOS.Type == IOS_TYPE_HERMES)
|
||||
{
|
||||
CurrentIOS.Base = mload_get_IOS_base();
|
||||
if(CurrentIOS.Revision > 4)
|
||||
if(CurrentIOS.Revision > 4)// v4 thru 5
|
||||
{
|
||||
CurrentIOS.Revision = mload_get_version() >> 4;
|
||||
CurrentIOS.SubRevision = mload_get_version() & 0xF;
|
||||
|
Loading…
Reference in New Issue
Block a user