mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
Add the DSPTool and UnitTests to the cmake build. They are optional, and to enable them add -DDSTPTOOL and -DUNITTESTS to the cmake command line.
Also, don't check to see if a directory is a wad file. They aren't. This removes an annoying and invalid debug assertion with the debug build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7682 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
82b635b799
commit
7135dba54e
6 changed files with 27 additions and 16 deletions
|
@ -46,7 +46,7 @@ private:
|
|||
WiiWAD::WiiWAD(const std::string& _rName)
|
||||
{
|
||||
DiscIO::IBlobReader* pReader = DiscIO::CreateBlobReader(_rName.c_str());
|
||||
if (pReader == NULL)
|
||||
if (pReader == NULL || File::IsDirectory(_rName))
|
||||
{
|
||||
m_Valid = false;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue