summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/softlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/softlist.cpp')
-rw-r--r--src/emu/softlist.cpp2
1 files changed, 1 insertions, 1 deletions
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);