From 1f2f3cc98df0de32b04499cab55bdc612b272979 Mon Sep 17 00:00:00 2001 From: etabeta78 Date: Sat, 23 Apr 2016 19:17:48 +0200 Subject: [PATCH] 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 :-) --- src/emu/softlist.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/softlist.cpp b/src/emu/softlist.cpp index 8abceb710d8..3d65dca7598 100644 --- a/src/emu/softlist.cpp +++ b/src/emu/softlist.cpp @@ -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)