From 4587e86e8692e0b51a4afae3b67e49329268cfb7 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 27 Oct 2023 06:35:17 +1100 Subject: Revert "chd.cpp: Refactoring, part 2" This reverts commit cc772072fa635146b1df39a5694d2a8f8aa5a34f. --- src/lib/util/dvdrom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/dvdrom.cpp') 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(); -- cgit v1.2.3-70-g09d2