mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Fix missing region report when DEVICE_SELF is used [O. Galibert]
This commit is contained in:
parent
3f353b116e
commit
2fbf2919d2
@ -156,10 +156,11 @@ bool finder_base::report_missing(bool found, const char *objname, bool required)
|
||||
return true;
|
||||
|
||||
// otherwise, report
|
||||
std::string region_fulltag = m_base.subtag(m_tag);
|
||||
if (required)
|
||||
osd_printf_error("Required %s '%s' not found\n", objname, m_tag);
|
||||
osd_printf_error("Required %s '%s' not found\n", objname, region_fulltag.c_str());
|
||||
else
|
||||
osd_printf_verbose("Optional %s '%s' not found\n", objname, m_tag);
|
||||
osd_printf_verbose("Optional %s '%s' not found\n", objname, region_fulltag.c_str());
|
||||
return !required;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user