diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-05-18 11:28:55 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-05-18 11:28:55 -0400 |
commit | 0d13a816acb6fb59cd38d4105a3448dbf1ad030c (patch) | |
tree | 1be4bddcc3dd74bcf6188047131be6b3fedc9adf | |
parent | afbb14cba81f04280d217108d15a2ce5134faa8e (diff) |
One more use for core_iswildstr (nw)
-rw-r--r-- | src/frontend/mame/clifront.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string> &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); |