diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp index d7375f3414094..ab0dfe79ef103 100644 --- a/src/frontend/mame/luaengine.cpp +++ b/src/frontend/mame/luaengine.cpp @@ -2093,6 +2093,7 @@ void lua_engine::initialize() ui_type["options"] = sol::property([] (mame_ui_manager &m) { return static_cast(&m.options()); }); ui_type["line_height"] = sol::property([] (mame_ui_manager &m) { return m.get_line_height(); }); ui_type["menu_active"] = sol::property(&mame_ui_manager::is_menu_active); + ui_type["show_menu"] = &mame_ui_manager::show_menu; ui_type["ui_active"] = sol::property(&mame_ui_manager::ui_active, &mame_ui_manager::set_ui_active); ui_type["single_step"] = sol::property(&mame_ui_manager::single_step, &mame_ui_manager::set_single_step); ui_type["show_fps"] = sol::property(&mame_ui_manager::show_fps, &mame_ui_manager::set_show_fps);