diff options
author | 2023-10-27 06:35:17 +1100 | |
---|---|---|
committer | 2023-10-27 06:35:17 +1100 | |
commit | 4587e86e8692e0b51a4afae3b67e49329268cfb7 (patch) | |
tree | 11721acc12f8de46aafeddb4def51983409ecc97 /src/lib/util/dvdrom.cpp | |
parent | 945b92a36007d3209578b4533ecc28c77cd2e70b (diff) |
Revert "chd.cpp: Refactoring, part 2"
This reverts commit cc772072fa635146b1df39a5694d2a8f8aa5a34f.
Diffstat (limited to 'src/lib/util/dvdrom.cpp')
-rw-r--r-- | src/lib/util/dvdrom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/dvdrom.cpp b/src/lib/util/dvdrom.cpp index 3a19291b16f..36dc29e7215 100644 --- a/src/lib/util/dvdrom.cpp +++ b/src/lib/util/dvdrom.cpp @@ -58,7 +58,7 @@ dvdrom_file::dvdrom_file(chd_file *_chd) throw nullptr; /* check it's actually a DVD-ROM */ - if (chd->check_is_dvd()) + if (!chd->is_dvd()) throw nullptr; sector_count = chd->unit_count(); |