mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Volume: Use more appropriate types for some returned values
Disc number is changed from bool to u8, and revision is changed from int to u16 (WADs can use all 16 bits, but discs can only use 8 bits).
This commit is contained in:
parent
d1d284e784
commit
301218a103
15 changed files with 54 additions and 49 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
bool Read(u64 _Offset, u64 _Length, u8* _pBuffer, bool decrypt = false) const override;
|
||||
std::string GetUniqueID() const override;
|
||||
std::string GetMakerID() const override;
|
||||
int GetRevision() const override;
|
||||
u16 GetRevision() const override;
|
||||
virtual std::string GetInternalName() const override;
|
||||
std::map<ELanguage, std::string> GetNames() const override;
|
||||
std::map<ELanguage, std::string> GetDescriptions() const override;
|
||||
|
@ -35,8 +35,7 @@ public:
|
|||
std::vector<u32> GetBanner(int* width, int* height) const override;
|
||||
u32 GetFSTSize() const override;
|
||||
std::string GetApploaderDate() const override;
|
||||
|
||||
bool IsDiscTwo() const override;
|
||||
u8 GetDiscNumber() const override;
|
||||
|
||||
ECountry GetCountry() const override;
|
||||
u64 GetSize() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue