mirror of
https://github.com/holub/mame
synced 2025-05-17 03:10:43 +03:00
fixed empty image name. no whatsnew.
This commit is contained in:
parent
af54f39fc3
commit
d3efd25ec5
@ -226,13 +226,13 @@ void image_device_init(running_machine *machine)
|
||||
{
|
||||
/* retrieve image error message */
|
||||
astring image_err = astring(image->error());
|
||||
const char *image_basename_str = image->basename();
|
||||
astring image_basename(image_name);
|
||||
/* unload all images */
|
||||
image_unload_all(*machine);
|
||||
|
||||
fatalerror_exitcode(machine, MAMERR_DEVICE, "Device %s load (%s) failed: %s",
|
||||
image->image_config().devconfig().name(),
|
||||
image_basename_str,
|
||||
image_basename.cstr(),
|
||||
image_err.cstr());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user