Add a comment to the magic value reading location.
This commit is contained in:
parent
22fef0da9b
commit
68ba0f7f4e
|
@ -184,6 +184,10 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part
|
||||||
_rReader.Read(rPartition.Offset + 0x44c, 8, IV);
|
_rReader.Read(rPartition.Offset + 0x44c, 8, IV);
|
||||||
|
|
||||||
bool usingKoreanKey = false;
|
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)
|
if (Korean && Reader.Read32(0x501ee) != 0)
|
||||||
{
|
{
|
||||||
usingKoreanKey = true;
|
usingKoreanKey = true;
|
||||||
|
|
Loading…
Reference in New Issue