mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Fix null pointer bug when -verifyroms is used without a driver spec (nw)
This undoes a small part ofc6ef2746d4
. Changing "*" to nullptr here looks like a fundamentally unsound hack, even though the validity checker now uses it as a convenient flag (see the similar change in3ecdaafea6
).
This commit is contained in:
parent
4320035388
commit
d0bbcc1ea3
@ -1501,7 +1501,7 @@ void cli_frontend::execute_commands(const char *exename)
|
||||
{
|
||||
// parse any relevant INI files before proceeding
|
||||
const char *sysname = m_options.system_name();
|
||||
(this->*info_command.function)((sysname[0] == 0) ? nullptr : sysname);
|
||||
(this->*info_command.function)((sysname[0] == 0) ? "*" : sysname);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user