diff options
author | 2016-11-06 10:05:36 +0100 | |
---|---|---|
committer | 2016-11-06 10:05:36 +0100 | |
commit | c2a75cb1799a31aa5687e576d1c0bdd50825fded (patch) | |
tree | 59144f444d666ae20ac8fb2bc4e4553d330945ca /src | |
parent | fffd464d345a6368cda7d90945d3409151218a06 (diff) |
Updated sol2, made lua console not crash for nil data (nw)
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/mame/luaengine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/mame/luaengine.h b/src/frontend/mame/luaengine.h index b360d932514..c46e9b91fc9 100644 --- a/src/frontend/mame/luaengine.h +++ b/src/frontend/mame/luaengine.h @@ -18,6 +18,8 @@ #define __LUA_ENGINE_H__ #include <map> +#define SOL_SAFE_USERTYPE +#define SOL_CHECK_ARGUMENTS #include "sol2/sol.hpp" class cheat_manager; |