[librvth] extract.cpp: Fixed inverted logic when checking for an HDD image.

This fixes a regression from commit d31763f792.
([librvth] Converted `struct RvtH` into a C++ class.)
This commit is contained in:
David Korth 2019-03-15 23:33:23 -04:00
parent 83ddb2ca4f
commit df1cb15dbb

View File

@ -852,7 +852,7 @@ int RvtH::import(unsigned int bank, const TCHAR *filename,
}
delete rvth_src;
return ret;
} else if (!rvth_src->isHDD() || rvth_src->bankCount() > 1) {
} else if (rvth_src->isHDD() || rvth_src->bankCount() > 1) {
// Not a standalone disc image.
delete rvth_src;
errno = EINVAL;