diff --git a/src/frontend/mame/luaengine.ipp b/src/frontend/mame/luaengine.ipp index d6ca0e981a0..8d51fb0a092 100644 --- a/src/frontend/mame/luaengine.ipp +++ b/src/frontend/mame/luaengine.ipp @@ -268,8 +268,8 @@ bool sol_lua_check(sol::types, lua_State *L, int index, Handler // map_handler_type customisation int sol_lua_push(sol::types, lua_State *L, map_handler_type &&value); -// endianness customisation -int sol_lua_push(sol::types, lua_State *L, map_handler_type &&value); +// endianness_t customisation +int sol_lua_push(sol::types, lua_State *L, endianness_t &&value); template diff --git a/src/frontend/mame/luaengine_input.cpp b/src/frontend/mame/luaengine_input.cpp index 866117a29b2..2e13262db78 100644 --- a/src/frontend/mame/luaengine_input.cpp +++ b/src/frontend/mame/luaengine_input.cpp @@ -144,7 +144,7 @@ void lua_engine::initialize_input(sol::table &emu) ioport_manager_type["count_players"] = &ioport_manager::count_players; ioport_manager_type["type_group"] = &ioport_manager::type_group; ioport_manager_type["type_seq"] = - [this] (ioport_manager &im, ioport_type type, int player, std::string const &seq_type_string) + [] (ioport_manager &im, ioport_type type, int player, std::string const &seq_type_string) { input_seq_type seq_type = s_seq_type_parser(seq_type_string); return im.type_seq(type, player, seq_type);