Make dev and debug builds report "PS2DVD" disks instead of CDVD_TYPE_ILLEGAL.

Need this for homebrew which wants to read disks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5554 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2013-02-10 19:50:46 +00:00
parent 7b195696a7
commit b5e33f9c6c
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ static int CheckDiskTypeFS(int baseType)
{
}
#ifdef PCSX2_DEVBUILD
return CDVD_TYPE_PS2DVD; // need this hack for some homebrew (SMS)
#endif
return CDVD_TYPE_ILLEGAL; // << Only for discs which aren't ps2 at all.
}