mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 09:22:05 +00:00
DiscIO: Merge WiiWAD into VolumeWAD
These two classes are very similar, so let's merge them.
This commit is contained in:
parent
0f5a4b37ee
commit
34f32898e6
15 changed files with 51 additions and 201 deletions
|
@ -49,7 +49,7 @@
|
|||
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
#include "DiscIO/WiiWad.h"
|
||||
#include "DiscIO/VolumeWad.h"
|
||||
|
||||
SConfig* SConfig::m_Instance;
|
||||
|
||||
|
@ -888,9 +888,9 @@ struct SetGameMetadata
|
|||
return true;
|
||||
}
|
||||
|
||||
bool operator()(const DiscIO::WiiWAD& wad) const
|
||||
bool operator()(const DiscIO::VolumeWAD& wad) const
|
||||
{
|
||||
if (!wad.IsValid() || !wad.GetTMD().IsValid())
|
||||
if (!wad.GetTMD().IsValid())
|
||||
{
|
||||
PanicAlertT("This WAD is not valid.");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue