From e3988ad65e5b25dcc956ea43e008f9ea2d3ce329 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 28 Mar 2016 08:24:22 +0200 Subject: [PATCH] using same check as in clifront, just to check if string is empty (nw) --- src/emu/emuopts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp index 38624009588..e5906562d2a 100644 --- a/src/emu/emuopts.cpp +++ b/src/emu/emuopts.cpp @@ -563,7 +563,7 @@ void emu_options::set_system_name(const char *name) if (cursystem == nullptr) return; - if (software_name()) + if (*software_name() != 0) { std::string sw_load(software_name()); std::string sw_list, sw_name, sw_part, sw_instance, option_errors, error_string;