From fa5e3ec29244186a67aeaf68da9a8bb35eb8c4fb Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Fri, 14 Nov 2014 20:59:39 -0500 Subject: Implement GetRevision() for wii disks. --- Source/Core/DiscIO/VolumeGC.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/DiscIO/VolumeGC.cpp') 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 CVolumeGC::GetNames() const -- cgit v1.2.3