diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-11-14 21:14:54 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-11-14 21:14:54 -0500 |
| commit | 4497233663c1d688a2f2a22b1fb1d3df8f339ebc (patch) | |
| tree | 010374497844a846b72400e1009f6e6779b4c00c /Source/Core/DiscIO/VolumeGC.cpp | |
| parent | 68c5758151f696c36b5184ef8bf541bacb68140f (diff) | |
| parent | fa5e3ec29244186a67aeaf68da9a8bb35eb8c4fb (diff) | |
Merge pull request #1546 from RachelBryk/iso-revision
Implement GetRevision() for wii disks.
Diffstat (limited to 'Source/Core/DiscIO/VolumeGC.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeGC.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp index ef0e56a21d..57303b13e7 100644 --- a/Source/Core/DiscIO/VolumeGC.cpp +++ b/Source/Core/DiscIO/VolumeGC.cpp @@ -92,11 +92,11 @@ int CVolumeGC::GetRevision() const if (!m_pReader) return 0; - u8 Revision; - if (!Read(7, 1, &Revision)) + u8 revision; + if (!Read(7, 1, &revision)) return 0; - return Revision; + return revision; } std::vector<std::string> CVolumeGC::GetNames() const |
