softlist.cpp: add support for "rom_ignore". [Fabio Priuli]

out of whatsnew: I'll need this only after the release, but since it made sense to have it anyway... here we are :-)
This commit is contained in:
etabeta78 2016-04-23 19:17:48 +02:00
parent 3b1f24dd82
commit 1f2f3cc98d

View File

@ -1139,6 +1139,8 @@ void softlist_parser::parse_data_start(const char *tagname, const char **attribu
add_rom_entry(nullptr, nullptr, offset, length, ROMENTRYTYPE_RELOAD);
else if (loadflag != nullptr && strcmp(loadflag, "continue") == 0)
add_rom_entry(nullptr, nullptr, offset, length, ROMENTRYTYPE_CONTINUE | ROM_INHERITFLAGS);
else if (loadflag != nullptr && strcmp(loadflag, "ignore") == 0)
add_rom_entry(nullptr, nullptr, offset, length, ROMENTRYTYPE_IGNORE | ROM_INHERITFLAGS);
else if (loadflag != nullptr && strcmp(loadflag, "fill") == 0)
add_rom_entry(nullptr, (const char *)(FPTR)(strtol(value, nullptr, 0) & 0xff), offset, length, ROMENTRYTYPE_FILL);
else if (name != nullptr)