mirror of
https://github.com/dwhinham/mt32-pi.git
synced 2026-10-26 22:11:05 +00:00
fixup! WIP: Lua stuff
This commit is contained in:
1 parent
27593c6066
commit
fbfe609c61
2 files changed
+4
-4
No files matched your search
@@ -144,7 +144,7 @@ $(LUAHOME)/liblua.a:
|
||||
CC="$(PREFIX)gcc" \
|
||||
AR="$(PREFIX)ar rc" \
|
||||
RANLIB="$(PREFIX)ranlib" \
|
||||
CFLAGS="$(CFLAGS_FOR_TARGET) \$$(MYCFLAGS) -Wall -Werror -O3 -fno-stack-protector -fno-common" \
|
||||
CFLAGS="$(CFLAGS_EXTERNAL) \$$(MYCFLAGS) -Wall -Werror -O3 -fno-stack-protector -fno-common" \
|
||||
MYCFLAGS="\$$(LOCAL)"
|
||||
|
||||
#
|
||||
@@ -180,5 +180,5 @@ mrproper: clean
|
||||
# Clean FluidSynth
|
||||
@$(RM) -r $(FLUIDSYNTHBUILDDIR)
|
||||
|
||||
# Clean Lua
|
||||
# Clean Lua
|
||||
@$(MAKE) -C $(LUAHOME) clean
|
||||
+2
-2
@@ -1012,7 +1012,7 @@ void CMT32Pi::UpdateNetwork()
|
||||
LOGNOTE("FTP daemon initialized");
|
||||
}
|
||||
|
||||
if (m_pConfig->NetworkLuaREPL && m_pLuaState)
|
||||
if (m_pConfig->NetworkLuaREPL && m_pLuaState && !m_pLuaREPL)
|
||||
{
|
||||
m_pLuaREPL = new CLuaREPL(m_pLuaState);
|
||||
if (!m_pLuaREPL->Initialize())
|
||||
@@ -1022,7 +1022,7 @@ void CMT32Pi::UpdateNetwork()
|
||||
m_pLuaREPL = nullptr;
|
||||
}
|
||||
else
|
||||
LOGERR("Lua REPL initialized");
|
||||
LOGNOTE("Lua REPL initialized");
|
||||
}
|
||||
}
|
||||
else if (m_bNetworkReady && !bNetIsRunning)
|
||||
|
||||
Reference in new issue
Block a user