summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/dvdrom.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-10-27 06:35:17 +1100
committer Vas Crabb <vas@vastheman.com>2023-10-27 06:35:17 +1100
commit4587e86e8692e0b51a4afae3b67e49329268cfb7 (patch)
tree11721acc12f8de46aafeddb4def51983409ecc97 /src/lib/util/dvdrom.cpp
parent945b92a36007d3209578b4533ecc28c77cd2e70b (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.cpp2
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();