diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-06-04 00:02:49 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-06-04 00:02:49 +0000 |
| commit | ba3ceeafb7ecc18bb88dfdd75428c8606921756b (patch) | |
| tree | 95df320a6bd1ee2043ac4ac001128028ff4d2cf4 /Source | |
| parent | 43c18bb5525a32e2ac31fff5cfe819fe3eef251b (diff) | |
Fake IOSv9 r2.4 if no version is found (elf loading)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3317 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/Src/Boot/Boot_BIOSEmu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Core/Src/Boot/Boot_BIOSEmu.cpp b/Source/Core/Core/Src/Boot/Boot_BIOSEmu.cpp index 93a8cc89a2..f367b36be8 100644 --- a/Source/Core/Core/Src/Boot/Boot_BIOSEmu.cpp +++ b/Source/Core/Core/Src/Boot/Boot_BIOSEmu.cpp @@ -367,7 +367,9 @@ bool CBoot::EmulatedBIOS_Wii(bool _bDebug) // Pass the "#002 check" // Apploader writes the IOS version and revision here, we copy it - Memory::Write_U32(Memory::Read_U32(0x80003188), 0x00003140); + // Fake IOSv9 r2.4 if no version is found (elf loading) + u32 firmwareVer = Memory::Read_U32(0x80003188); + Memory::Write_U32(firmwareVer ? firmwareVer : 0x00090204, 0x00003140); // Load patches and run startup patches std::string gameID = VolumeHandler::GetVolume()->GetUniqueID(); |
