mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-20 12:35:39 -04:00
[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:
parent
83ddb2ca4f
commit
df1cb15dbb
@ -852,7 +852,7 @@ int RvtH::import(unsigned int bank, const TCHAR *filename,
|
|||||||
}
|
}
|
||||||
delete rvth_src;
|
delete rvth_src;
|
||||||
return ret;
|
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.
|
// Not a standalone disc image.
|
||||||
delete rvth_src;
|
delete rvth_src;
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user