Skip to content

Commit

Permalink
Add a comment to the magic value reading location.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 committed Nov 11, 2013
1 parent 22fef0d commit 68ba0f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Core/DiscIO/Src/VolumeCreator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68ba0f7

Please sign in to comment.