diff options
| author | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-11-11 17:17:49 +0000 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-11-11 17:17:49 +0000 |
| commit | 68ba0f7f4e587e3359411cd57f7acb51b96e5d2c (patch) | |
| tree | 7b46c79e594d9ead0520930cf7a9ce8ba5911ebd /Source/Core/DiscIO | |
| parent | 22fef0da9bdda47dba0b83ba2ea89de1b28a75ab (diff) | |
Add a comment to the magic value reading location.
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/Src/VolumeCreator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeCreator.cpp b/Source/Core/DiscIO/Src/VolumeCreator.cpp index 4863a17949..4dd24f9b4b 100644 --- a/Source/Core/DiscIO/Src/VolumeCreator.cpp +++ b/Source/Core/DiscIO/Src/VolumeCreator.cpp @@ -184,6 +184,10 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part _rReader.Read(rPartition.Offset + 0x44c, 8, IV); bool usingKoreanKey = false; + // Issue: 6813 + // Magic value is at 0x501f1 (1byte) + // If encrypted with the Korean key, the magic value would be 1 + // Otherwise it is zero if (Korean && Reader.Read32(0x501ee) != 0) { usingKoreanKey = true; |
