From 7f7d229fd5613481cafeb47335c0e1843547d79b Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sun, 14 Apr 2019 10:35:20 +1000 Subject: (nw) typo in last commit --- src/emu/softlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/softlist.cpp b/src/emu/softlist.cpp index 494799a2992..04302f6b514 100644 --- a/src/emu/softlist.cpp +++ b/src/emu/softlist.cpp @@ -697,7 +697,7 @@ void softlist_parser::parse_data_start(const char *tagname, const char **attribu if (!sizestr.empty()) { u32 length = strtol(sizestr.c_str(), nullptr, 0); - u32 offset = !offsetstr.empty() ? 0 : strtol(offsetstr.c_str(), nullptr, 0); + u32 offset = offsetstr.empty() ? 0 : strtol(offsetstr.c_str(), nullptr, 0); if (loadflag == "reload") add_rom_entry("", "", offset, length, ROMENTRYTYPE_RELOAD | ROM_INHERITFLAGS); -- cgit v1.2.3