summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-06 10:05:36 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-06 10:05:36 +0100
commitc2a75cb1799a31aa5687e576d1c0bdd50825fded (patch)
tree59144f444d666ae20ac8fb2bc4e4553d330945ca /src
parentfffd464d345a6368cda7d90945d3409151218a06 (diff)
Updated sol2, made lua console not crash for nil data (nw)
Diffstat (limited to 'src')
-rw-r--r--src/frontend/mame/luaengine.h2
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;