summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeCreator.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-08-31 19:30:32 -0400
committerLioncash <mathew1800@gmail.com>2015-08-31 20:01:51 -0400
commit222b33f0a39d9be4f7b4fe96e4b9babbdebeb38f (patch)
tree74471f02057b0b5a526eaf15527b2ea9e64dfa6e /Source/Core/DiscIO/VolumeCreator.cpp
parent1db1a8aacf7c5d0d8a7e36f2c6f2e452b0971ed0 (diff)
VolumeCreator: Fix a typo in VolumeKeyForPartition's name
Diffstat (limited to 'Source/Core/DiscIO/VolumeCreator.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeCreator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeCreator.cpp b/Source/Core/DiscIO/VolumeCreator.cpp
index 58f5bee187..22df4a3bee 100644
--- a/Source/Core/DiscIO/VolumeCreator.cpp
+++ b/Source/Core/DiscIO/VolumeCreator.cpp
@@ -120,7 +120,7 @@ bool IsVolumeWadFile(const IVolume *_rVolume)
return (Common::swap32(MagicWord) == 0x00204973 || Common::swap32(MagicWord) == 0x00206962);
}
-void VolumeKeyForParition(IBlobReader& _rReader, u64 offset, u8* VolumeKey)
+void VolumeKeyForPartition(IBlobReader& _rReader, u64 offset, u8* VolumeKey)
{
CBlobBigEndianReader Reader(_rReader);
@@ -192,7 +192,7 @@ static IVolume* CreateVolumeFromCryptedWiiImage(std::unique_ptr<IBlobReader> rea
if ((rPartition.Type == _VolumeType && (int)_VolumeNum == -1) || i == _VolumeNum)
{
u8 VolumeKey[16];
- VolumeKeyForParition(*reader, rPartition.Offset, VolumeKey);
+ VolumeKeyForPartition(*reader, rPartition.Offset, VolumeKey);
return new CVolumeWiiCrypted(std::move(reader), rPartition.Offset, VolumeKey);
}
}