mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
One more use for core_iswildstr (nw)
This commit is contained in:
parent
afbb14cba8
commit
0d13a816ac
@ -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
|
// if a game was specified, wasn't a wildcard, and our error indicates this was the
|
||||||
// reason for failure, offer some suggestions
|
// 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
|
// get the top 16 approximate matches
|
||||||
driver_enumerator drivlist(m_options);
|
driver_enumerator drivlist(m_options);
|
||||||
|
Loading…
Reference in New Issue
Block a user