From 0d13a816acb6fb59cd38d4105a3448dbf1ad030c Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 18 May 2017 11:28:55 -0400 Subject: One more use for core_iswildstr (nw) --- src/frontend/mame/clifront.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/mame/clifront.cpp b/src/frontend/mame/clifront.cpp index fdf69f579af..37a8044ad9a 100644 --- a/src/frontend/mame/clifront.cpp +++ b/src/frontend/mame/clifront.cpp @@ -269,7 +269,7 @@ int cli_frontend::execute(std::vector &args) // if a game was specified, wasn't a wildcard, and our error indicates this was the // reason for failure, offer some suggestions - if (m_result == EMU_ERR_NO_SUCH_GAME && *(m_options.system_name()) != 0 && strchr(m_options.system_name(), '*') == nullptr && mame_options::system(m_options) == nullptr) + if (m_result == EMU_ERR_NO_SUCH_GAME && *(m_options.system_name()) != 0 && !core_iswildstr(m_options.system_name()) && mame_options::system(m_options) == nullptr) { // get the top 16 approximate matches driver_enumerator drivlist(m_options); -- cgit v1.2.3