summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/luaengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/luaengine.cpp')
-rw-r--r--src/emu/luaengine.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/luaengine.cpp b/src/emu/luaengine.cpp
index 990f417eac4..b8f1d0772ec 100644
--- a/src/emu/luaengine.cpp
+++ b/src/emu/luaengine.cpp
@@ -51,7 +51,7 @@ extern "C" {
int luaopen_zlib(lua_State *L);
int luaopen_luv(lua_State *L);
int luaopen_lfs(lua_State *L);
- uv_loop_t* luv_loop(lua_State* L);
+ uv_loop_t* luv_loop(lua_State* L);
}
static void lstop(lua_State *L, lua_Debug *ar)
@@ -744,7 +744,7 @@ int lua_engine::lua_options_entry::l_entry_value(lua_State *L)
luaL_error(L, "%s", error.c_str());
}
}
-
+
switch (e->type())
{
case OPTION_BOOLEAN:
@@ -1194,7 +1194,7 @@ lua_engine::lua_engine()
lua_gc(m_lua_state, LUA_GCSTOP, 0); /* stop collector during initialization */
luaL_openlibs(m_lua_state); /* open libraries */
- // Get package.preload so we can store builtins in it.
+ // Get package.preload so we can store builtins in it.
lua_getglobal(m_lua_state, "package");
lua_getfield(m_lua_state, -1, "preload");
lua_remove(m_lua_state, -2); // Remove package
@@ -1205,13 +1205,13 @@ lua_engine::lua_engine()
lua_pushcfunction(m_lua_state, luaopen_zlib);
lua_setfield(m_lua_state, -2, "zlib");
-
+
lua_pushcfunction(m_lua_state, luaopen_lsqlite3);
lua_setfield(m_lua_state, -2, "lsqlite3");
lua_pushcfunction(m_lua_state, luaopen_lfs);
lua_setfield(m_lua_state, -2, "lfs");
-
+
luaopen_ioport(m_lua_state);
lua_gc(m_lua_state, LUA_GCRESTART, 0);
@@ -1668,7 +1668,7 @@ void lua_engine::periodic_check()
auto loop = luv_loop(m_lua_state);
if (loop!=nullptr)
uv_run(loop, UV_RUN_NOWAIT);
-
+
}
//-------------------------------------------------