mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Volume: Return volume type as an enum
ISOFile and GameFile were using IsWiiDisc() and IsWadFile() to set an enum value. The volume might as well return an enum directly. I increased the Qt CACHE_REVISION because m_platform now is saved as u32 instead of int, but increasing the wx CACHE_REVISION is not necessary.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user