summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/slotopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/slotopt.c')
-rw-r--r--src/emu/ui/slotopt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emu/ui/slotopt.c b/src/emu/ui/slotopt.c
index e7258897130..3347baca00a 100644
--- a/src/emu/ui/slotopt.c
+++ b/src/emu/ui/slotopt.c
@@ -13,6 +13,7 @@
#include "ui/ui.h"
#include "ui/slotopt.h"
+#include "ui/devopt.h"
/*-------------------------------------------------
@@ -195,5 +196,12 @@ void ui_menu_slot_devices::handle()
set_slot_device(slot, val);
reset(UI_MENU_RESET_REMEMBER_REF);
}
+ else if (menu_event->iptkey == IPT_UI_SELECT)
+ {
+ device_slot_interface *slot = (device_slot_interface *)menu_event->itemref;
+ device_slot_option *option = slot_get_current_option(slot);
+ if (option)
+ ui_menu::stack_push(auto_alloc_clear(machine(), ui_menu_device_config(machine(), container, slot, option)));
+ }
}
}