summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/mainmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/mainmenu.cpp')
-rw-r--r--src/frontend/mame/ui/mainmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/mainmenu.cpp b/src/frontend/mame/ui/mainmenu.cpp
index 9fb66331249..15c1f6207d5 100644
--- a/src/frontend/mame/ui/mainmenu.cpp
+++ b/src/frontend/mame/ui/mainmenu.cpp
@@ -109,7 +109,7 @@ void menu_main::populate(float &customtop, float &custombottom)
if (network_interface_enumerator(machine().root_device()).first() != nullptr)
item_append(_("Network Devices"), 0, (void*)NETWORK_DEVICES);
- if (machine().ioport().natkeyboard().keyboard_count())
+ if (machine().natkeyboard().keyboard_count())
item_append(_("Keyboard Mode"), 0, (void *)KEYBOARD_MODE);
item_append(_("Slider Controls"), 0, (void *)SLIDERS);