simplify nodump chd check (nw)

This commit is contained in:
smf- 2018-01-03 09:55:22 +00:00
parent ee214727b8
commit 25efd8f81c

View File

@ -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");
}