summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/luaengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/luaengine.h')
-rw-r--r--src/emu/luaengine.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/emu/luaengine.h b/src/emu/luaengine.h
index 7fefb73d0e3..aaa774d00e6 100644
--- a/src/emu/luaengine.h
+++ b/src/emu/luaengine.h
@@ -52,9 +52,9 @@ public:
struct menu_item {
std::string text;
std::string subtext;
- int flags;
+ std::string flags;
};
- std::vector<menu_item> &menu_populate(std::string &menu);
+ void menu_populate(std::string &menu, std::vector<menu_item> &menu_list);
bool menu_callback(std::string &menu, int index, std::string event);
void resume(lua_State *L, int nparam = 0, lua_State *root = nullptr);
@@ -161,6 +161,8 @@ private:
template<typename T> int l_direct_mem_read(lua_State *L);
template<typename T> int l_direct_mem_write(lua_State *L);
};
+ static luabridge::LuaRef l_addr_space_map(const address_space *as);
+
static luabridge::LuaRef l_machine_get_screens(const running_machine *r);
struct lua_screen {
int l_height(lua_State *L);