summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2017-02-04 10:08:29 +1300
committerGitHub <noreply@github.com>2017-02-04 10:08:29 +1300
commite2b0197ff6fcfc1284967d9acc14ca936a1d77a9 (patch)
tree0684b121929572346f7e89bc8d4e9da6efb0166b /Source
parent682173305374823522d8444329268d9db041123c (diff)
parent767cbcafb194b7bba5a66997586278a1916e5156 (diff)
Merge pull request #4807 from leoetlino/ios-version-for-wads
Remove unneeded write to 0x3140/0x3188 for WADs
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Boot/Boot_WiiWAD.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/Core/Core/Boot/Boot_WiiWAD.cpp b/Source/Core/Core/Boot/Boot_WiiWAD.cpp
index 0ebc47de6e..ba13a9dd7f 100644
--- a/Source/Core/Core/Boot/Boot_WiiWAD.cpp
+++ b/Source/Core/Core/Boot/Boot_WiiWAD.cpp
@@ -112,16 +112,6 @@ bool CBoot::Boot_WiiWAD(const std::string& _pFilename)
MSR = 0;
PC = 0x3400;
- // Pass the "#002 check"
- // Apploader should write the IOS version and revision to 0x3140, and compare it
- // to 0x3188 to pass the check, but we don't do it, and i don't know where to read the IOS rev...
- // Currently we just write 0xFFFF for the revision, copy manually and it works fine :p
-
- // TODO : figure it correctly : where should we read the IOS rev that the wad "needs" ?
- Memory::Write_U16(ContentLoader.GetIosVersion(), 0x00003140);
- Memory::Write_U16(0xFFFF, 0x00003142);
- Memory::Write_U32(Memory::Read_U32(0x00003140), 0x00003188);
-
// Load patches and run startup patches
const std::unique_ptr<DiscIO::IVolume> pVolume(DiscIO::CreateVolumeFromFilename(_pFilename));
if (pVolume != nullptr)