mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Lua engine: fix a dumb copy/paste error and an unused lambda capture from previous commit.
This commit is contained in:
parent
503332a986
commit
35bec8d273
@ -268,8 +268,8 @@ bool sol_lua_check(sol::types<osd_file::error>, lua_State *L, int index, Handler
|
||||
// map_handler_type customisation
|
||||
int sol_lua_push(sol::types<map_handler_type>, lua_State *L, map_handler_type &&value);
|
||||
|
||||
// endianness customisation
|
||||
int sol_lua_push(sol::types<map_handler_type>, lua_State *L, map_handler_type &&value);
|
||||
// endianness_t customisation
|
||||
int sol_lua_push(sol::types<endianness_t>, lua_State *L, endianness_t &&value);
|
||||
|
||||
|
||||
template <typename T>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user