diff options
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); |