mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
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:
parent
3b1f24dd82
commit
1f2f3cc98d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user