mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
simplify nodump chd check (nw)
This commit is contained in:
parent
ee214727b8
commit
25efd8f81c
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user