summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2019-04-14 10:35:20 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2019-04-14 10:35:20 +1000
commit7f7d229fd5613481cafeb47335c0e1843547d79b (patch)
treef7d05a89368ff10a29095e869c6daca0abf9c213
parent668151505998a83afcc91da3446e2b42d8eef339 (diff)
(nw) typo in last commit
-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);