From 25efd8f81c11abb1f30ef4e7ab36b1ebad40236d Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 3 Jan 2018 09:55:22 +0000 Subject: [PATCH] simplify nodump chd check (nw) --- src/emu/softlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/softlist.cpp b/src/emu/softlist.cpp index 7731a0d3298..8854b8d5e39 100644 --- a/src/emu/softlist.cpp +++ b/src/emu/softlist.cpp @@ -771,7 +771,7 @@ void softlist_parser::parse_data_start(const char *tagname, const char **attribu add_rom_entry(std::move(name), std::move(hashdata), 0, 0, ROMENTRYTYPE_ROM | (writeable ? DISK_READWRITE : DISK_READONLY)); } - else if (status.empty() || !(status == "nodump")) // a no_dump chd is not an incomplete entry + else if (status != "nodump") // a no_dump chd is not an incomplete entry parse_error("Incomplete disk definition"); }