Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed issue 6852.
  • Loading branch information
kexplo committed Dec 7, 2013
1 parent 4867937 commit c405d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DiscIO/Src/VolumeCreator.cpp
Expand Up @@ -196,10 +196,10 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part

bool usingKoreanKey = false;
// Issue: 6813
// Magic value is at 0x501f1 (1byte)
// Magic value is at partition's offset + 0x1f1 (1byte)
// If encrypted with the Korean key, the magic value would be 1
// Otherwise it is zero
if (Korean && Reader.Read8(0x501f1) == 1)
if (Korean && Reader.Read8(rPartition.Offset + 0x1f1) == 1)
usingKoreanKey = true;

aes_context AES_ctx;
Expand Down

0 comments on commit c405d92

Please sign in to comment.