diff options
author | 2016-11-27 09:56:49 +1100 | |
---|---|---|
committer | 2016-11-27 09:56:49 +1100 | |
commit | 7238415d1f30cae0b47e54dd04eb0b5e558c132e (patch) | |
tree | 3829a830029d7b31878bb9f67dec4d8d519f1e62 /src/frontend/mame/luaengine.cpp | |
parent | 1637c91a5ccf77dae40a3edab7af1e0b64b92bf7 (diff) |
srcclean (nw)
Diffstat (limited to 'src/frontend/mame/luaengine.cpp')
-rw-r--r-- | src/frontend/mame/luaengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp index 6de0335fa77..1bdc3582fef 100644 --- a/src/frontend/mame/luaengine.cpp +++ b/src/frontend/mame/luaengine.cpp @@ -64,7 +64,7 @@ namespace sol lua_setfield(L, LUA_REGISTRYINDEX, "sol::buffer_temp"); } else - lua_pop(L, -1); + lua_pop(L, -1); luaL_pushresultsize(&buff, len); } @@ -814,7 +814,7 @@ void lua_engine::initialize() auto ret = func(); if (ret.valid()) { const char *tmp = ret.get<const char *>(); - if (tmp != nullptr) + if (tmp != nullptr) ctx.result = tmp; else exit(0); |