diff options
| author | 2016-04-12 14:37:22 +0200 | |
|---|---|---|
| committer | 2016-04-12 14:37:22 +0200 | |
| commit | c1600cafd92f045df8e5bbc1a74264cd71ab4a6e (patch) | |
| tree | 931352496df7e4cb279f35663ad274c4ecd005b2 /src/emu/image.cpp | |
| parent | b47168d7e6e002a7c478a0a42e4f97c56ec280dc (diff) | |
diimage.cpp: Allow image devices to be configured with a fixed
(not user selectable) piece of software and updated a few options
and menu to acknowledge such possibility. [Fabio Priuli]
macs.cpp: Converted to use generic cartslot with fixed software
configuration. Cleaned up loading and banking systems in the driver
as a result. [Fabio Priuli]
Diffstat (limited to 'src/emu/image.cpp')
| -rw-r--r-- | src/emu/image.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/image.cpp b/src/emu/image.cpp index f9f6111a292..4da1e198569 100644 --- a/src/emu/image.cpp +++ b/src/emu/image.cpp @@ -36,6 +36,9 @@ image_manager::image_manager(running_machine &machine) /* is an image specified for this image */ image_name = machine.options().value(image->instance_name()); + if (!image->user_loadable()) + continue; + if ((image_name != nullptr) && (image_name[0] != '\0')) { /* mark init state */ @@ -226,6 +229,7 @@ void image_manager::postdevice_init() for (device_image_interface *image = iter.first(); image != nullptr; image = iter.next()) { int result = image->finish_load(); + /* did the image load fail? */ if (result) { |
