mirror of
https://github.com/holub/mame
synced 2025-04-09 18:17:44 +03:00
Merge pull request #4030 from tlindner/fix_connonical_options
Fix canonical command line option.
This commit is contained in:
commit
7b42e2f799
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user