summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/filemngr.cpp
diff options
context:
space:
mode:
author etabeta78 <doge.fabio@gmail.com>2016-04-12 14:37:22 +0200
committer etabeta78 <doge.fabio@gmail.com>2016-04-12 14:37:22 +0200
commitc1600cafd92f045df8e5bbc1a74264cd71ab4a6e (patch)
tree931352496df7e4cb279f35663ad274c4ecd005b2 /src/emu/ui/filemngr.cpp
parentb47168d7e6e002a7c478a0a42e4f97c56ec280dc (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/ui/filemngr.cpp')
-rw-r--r--src/emu/ui/filemngr.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/ui/filemngr.cpp b/src/emu/ui/filemngr.cpp
index fa139e1c696..6c2cd3894bd 100644
--- a/src/emu/ui/filemngr.cpp
+++ b/src/emu/ui/filemngr.cpp
@@ -129,6 +129,9 @@ void ui_menu_file_manager::populate()
image_interface_iterator subiterator(*dev);
for (device_image_interface *scan = subiterator.first(); scan != nullptr; scan = subiterator.next())
{
+ if (!scan->user_loadable())
+ continue;
+
// if it is a children device, and not something further down the device tree, we want it in the menu!
if (strcmp(scan->device().owner()->tag(), dev->tag()) == 0)
if (devtags.insert(scan->device().tag()).second)