Make our stub code for not shipping lua a bit less lame.

This commit is contained in:
riccardom 2010-04-05 15:16:37 +00:00
parent 76d9a939ed
commit 320fa688f1
2 changed files with 2 additions and 17 deletions

View File

@ -19,7 +19,6 @@ wxdesmume_SOURCES = \
InputCommon/EventHandler.cpp \
InputCommon/Configuration.cpp \
InputCommon/SDL.cpp \
LuaWindow.cpp \
StringUtil.cpp \
wxMain.cpp
wxdesmume_LDADD = ../libdesmume.a \

View File

@ -63,22 +63,6 @@ GPU3DInterface *core3DList[] = {
NULL
};
/* lua stuff stubs */
#ifndef WIN32
void OpenLuaContext(int, void (*)(int, char const*), void (*)(int), void (*)(int, bool))
{
}
void RunLuaScriptFile(int, char const*)
{
}
void StopLuaScript(int)
{
}
void CloseLuaContext(int)
{
}
#endif
volatile bool execute = false;
class Desmume: public wxApp
@ -399,7 +383,9 @@ loop:
void OnOpenLuaWindow(wxCommandEvent& WXUNUSED (event))
{
#ifdef WIN32
new wxLuaWindow(this, wxDefaultPosition, wxSize(600, 390));
#endif
}
void OnOpenControllerConfiguration(wxCommandEvent& WXUNUSED (event))