diff options
| author | comex <comexk@gmail.com> | 2015-06-06 01:23:52 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2015-06-06 01:23:52 -0400 |
| commit | 95d682dfd5f0fbbe27f5d6a38da98f0535fa6845 (patch) | |
| tree | 5a84a12a3f5b284ebdddf3c4aa1f2a26ff22cb97 /Source/Core/DiscIO/VolumeDirectory.cpp | |
| parent | 726fc58b49ef44a4477c43bd66cfaec2239411d9 (diff) | |
| parent | 0ed31181411a9aa98dc194c6179681e670f186cb (diff) | |
Merge pull request #2519 from JosJuice/volume-type-enum
Volume: Return volume type as an enum
Diffstat (limited to 'Source/Core/DiscIO/VolumeDirectory.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeDirectory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeDirectory.cpp b/Source/Core/DiscIO/VolumeDirectory.cpp index b7fe30aed5..77f4523417 100644 --- a/Source/Core/DiscIO/VolumeDirectory.cpp +++ b/Source/Core/DiscIO/VolumeDirectory.cpp @@ -220,9 +220,9 @@ std::string CVolumeDirectory::GetApploaderDate() const return "VOID"; } -bool CVolumeDirectory::IsWiiDisc() const +IVolume::EPlatform CVolumeDirectory::GetVolumeType() const { - return m_is_wii; + return m_is_wii ? WII_DISC : GAMECUBE_DISC; } u64 CVolumeDirectory::GetSize() const |
