summaryrefslogtreecommitdiffstats
path: root/docs/release/src/emu/emuopts.cpp
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2018-10-31 02:37:21 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2018-10-31 02:37:21 +1100
commit5bf5e9161e6bcb8c10c37571c6dd4d872d47f20b (patch)
treef351d5b870e5261a49f9dba1c4ab2a20205554fa /docs/release/src/emu/emuopts.cpp
parent1c587a25a64e9c4fa045a9ca40597696467a92e0 (diff)
0.203 Release filestag203
Diffstat (limited to 'docs/release/src/emu/emuopts.cpp')
-rw-r--r--docs/release/src/emu/emuopts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/release/src/emu/emuopts.cpp b/docs/release/src/emu/emuopts.cpp
index 76c68dc8c79..2a677dfd58b 100644
--- a/docs/release/src/emu/emuopts.cpp
+++ b/docs/release/src/emu/emuopts.cpp
@@ -389,9 +389,9 @@ namespace
if (!same_name)
result.push_back(image.brief_instance_name());
- if (strcmp(image.device_typename(image.image_type()), image.instance_name().c_str()) == 0)
+ if (image.instance_name() != image.cannonical_instance_name())
{
- result.push_back(image.instance_name() + "1");
+ result.push_back(image.cannonical_instance_name());
if (!same_name)
result.push_back(image.brief_instance_name() + "1");
}