summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
authorGravatarGravatar npwoods <npwoods@mess.org>2019-09-06 09:10:40 -0400
committerGravatarGravatar Robert <Robbbert@users.noreply.github.com>2019-09-06 23:10:40 +1000
commita17315b742dd3ae2f09d9078846272601139b8c1 (patch)
tree50a1bebe186ca7b8a1914d8a9fa2ca2c6f515ce0 /src/frontend
parent5964e58cdf7620d1425b02a9224ce1fedc65e3f3 (diff)
MT#7408: Fixed issue that caused most LUA callbacks to be duplicated (#5592)
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/luaengine.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp
index 5416598b5d9..5412f182304 100644
--- a/src/frontend/mame/luaengine.cpp
+++ b/src/frontend/mame/luaengine.cpp
@@ -638,13 +638,6 @@ int lua_engine::enumerate_functions(const char *id, std::function<bool(const sol
count++;
if (!cont)
break;
-
- auto ret = invoke(func.second.as<sol::protected_function>());
- if (!ret.valid())
- {
- sol::error err = ret;
- osd_printf_error("[LUA ERROR] in execute_function: %s\n", err.what());
- }
}
}
return true;