diff options
| author | Rachel Bryk <RachelBryk@gmail.com> | 2013-01-25 21:28:04 -0500 |
|---|---|---|
| committer | Rachel Bryk <RachelBryk@gmail.com> | 2013-01-25 21:28:04 -0500 |
| commit | 1e006b5b99cc520798988dc9b810d9b1ecae384d (patch) | |
| tree | 03c604b1ad634f104381f11d3e49c0a67d4f07e7 /Source/Core/DiscIO/Src/VolumeGC.cpp | |
| parent | f660077d06fb8bc37d20de4a7ad7f70738a0242a (diff) | |
Better implementation of revision 2cc1a97a66c2. Works with .gcz files now.
Diffstat (limited to 'Source/Core/DiscIO/Src/VolumeGC.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/VolumeGC.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeGC.cpp b/Source/Core/DiscIO/Src/VolumeGC.cpp index 51fac285fc..09e2c5eaa9 100644 --- a/Source/Core/DiscIO/Src/VolumeGC.cpp +++ b/Source/Core/DiscIO/Src/VolumeGC.cpp @@ -137,4 +137,11 @@ u64 CVolumeGC::GetSize() const return 0; } +bool CVolumeGC::IsDiscTwo() const +{ + bool discTwo; + Read(6,1, (u8*) &discTwo); + return discTwo; +} + } // namespace |
