mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00: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:
parent
11a36ca8e2
commit
ace060748b
19 changed files with 61 additions and 56 deletions
|
@ -103,6 +103,11 @@ bool CVolumeWAD::GetTitleID(u8* _pBuffer) const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool CVolumeWAD::IsWadFile() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
std::vector<std::string> CVolumeWAD::GetNames() const
|
||||
{
|
||||
std::vector<std::string> names;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue