mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00: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:
parent
f5b0468179
commit
0ed3118141
21 changed files with 98 additions and 112 deletions
|
@ -36,7 +36,7 @@ public:
|
|||
u32 GetFSTSize() const override { return 0; }
|
||||
std::string GetApploaderDate() const override { return ""; }
|
||||
|
||||
bool IsWadFile() const override;
|
||||
EPlatform GetVolumeType() const override;
|
||||
|
||||
ECountry GetCountry() const override;
|
||||
u64 GetSize() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue