From ba3ceeafb7ecc18bb88dfdd75428c8606921756b Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 4 Jun 2009 00:02:49 +0000 Subject: [PATCH] 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 --- Source/Core/Core/Src/Boot/Boot_BIOSEmu.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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();