mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Removing SOL_CHECK_ARGUMENTS till we figure all consequences (nw)
This commit is contained in:
parent
2027d59e7f
commit
8d7434ab5e
@ -1612,7 +1612,7 @@ void lua_engine::initialize()
|
||||
|
||||
sol().new_usertype<mame_machine_manager>("manager", "new", sol::no_constructor,
|
||||
"machine", &machine_manager::machine,
|
||||
"options", [](machine_manager &m) { return static_cast<core_options *>(&m.options()); },
|
||||
"options", [](mame_machine_manager &m) { return static_cast<core_options *>(&m.options()); },
|
||||
"plugins", [](mame_machine_manager &m) { return static_cast<core_options *>(&m.plugins()); },
|
||||
"ui", &mame_machine_manager::ui);
|
||||
sol()["manager"] = std::ref(*mame_machine_manager::instance());
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <map>
|
||||
#define SOL_SAFE_USERTYPE
|
||||
#define SOL_CHECK_ARGUMENTS
|
||||
//#define SOL_CHECK_ARGUMENTS
|
||||
#include "sol2/sol.hpp"
|
||||
|
||||
class cheat_manager;
|
||||
|
Loading…
Reference in New Issue
Block a user