mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Don't read from disk when checking volume type
Should be faster than relying on the OS to cache the magic words. Also gets rid of the odd recursive call in VolumeDirectory.
This commit is contained in:
@ -45,6 +45,7 @@ public:
|
||||
u32 GetFSTSize() const override;
|
||||
|
||||
std::string GetApploaderDate() const override;
|
||||
bool IsWiiDisc() const override;
|
||||
|
||||
ECountry GetCountry() const override;
|
||||
|
||||
@ -85,6 +86,8 @@ private:
|
||||
|
||||
u32 m_totalNameSize;
|
||||
|
||||
bool m_is_wii;
|
||||
|
||||
// GameCube has no shift, Wii has 2 bit shift
|
||||
u32 m_addressShift;
|
||||
|
||||
|
Reference in New Issue
Block a user