diff options
| author | Rachel Bryk <RachelBryk@gmail.com> | 2014-11-14 20:59:39 -0500 |
|---|---|---|
| committer | Rachel Bryk <RachelBryk@gmail.com> | 2014-11-14 21:06:26 -0500 |
| commit | fa5e3ec29244186a67aeaf68da9a8bb35eb8c4fb (patch) | |
| tree | 010374497844a846b72400e1009f6e6779b4c00c /Source/Core/DiscIO/VolumeGC.cpp | |
| parent | 68c5758151f696c36b5184ef8bf541bacb68140f (diff) | |
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 |
