diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-03-05 12:18:53 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-03-05 12:18:53 -0500 |
| commit | b7514955e51ed2cbbcd83417817d0c87d03e7651 (patch) | |
| tree | 9d43b7c2fcd5f7b7d0e2609ad436a9a10c66e75f /Source/Core/DiscIO/VolumeDirectory.cpp | |
| parent | da56582ba017284fadda90d3091dc40f1784402a (diff) | |
| parent | 492aa5c3915f38be7ea90f5dddd99f3244cf8914 (diff) | |
Merge pull request #2113 from Stevoisiak/VolumeCleanup
Basic volume code cleanup
Diffstat (limited to 'Source/Core/DiscIO/VolumeDirectory.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeDirectory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/VolumeDirectory.cpp b/Source/Core/DiscIO/VolumeDirectory.cpp index 6157507816..e970d27836 100644 --- a/Source/Core/DiscIO/VolumeDirectory.cpp +++ b/Source/Core/DiscIO/VolumeDirectory.cpp @@ -140,9 +140,9 @@ bool CVolumeDirectory::Read(u64 _Offset, u64 _Length, u8* _pBuffer, bool decrypt if (!reader->Read(fileOffset, fileBytes, _pBuffer)) return false; - _Length -= fileBytes; + _Length -= fileBytes; _pBuffer += fileBytes; - _Offset += fileBytes; + _Offset += fileBytes; } ++fileIter; @@ -174,9 +174,9 @@ void CVolumeDirectory::SetUniqueID(const std::string& id) IVolume::ECountry CVolumeDirectory::GetCountry() const { - u8 CountryCode = m_diskHeader[3]; + u8 country_code = m_diskHeader[3]; - return CountrySwitch(CountryCode); + return CountrySwitch(country_code); } std::string CVolumeDirectory::GetMakerID() const |
