summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-11-08 00:15:58 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-11-08 00:15:58 +0000
commitdcb9967e75183a793043494d39eec34168c0cdee (patch)
tree6758ead0b0cc4c14a07457faff8a995c25712178 /Source
parentb9794a9533a4ea8ffedf33802bd5feca7f278825 (diff)
Lua is officially supported on Dolphin. (thanks for the linkage fix shuffle2!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4512 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/Src/LuaWindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Src/LuaWindow.cpp b/Source/Core/DolphinWX/Src/LuaWindow.cpp
index 80969ac707..8a2ee24b79 100644
--- a/Source/Core/DolphinWX/Src/LuaWindow.cpp
+++ b/Source/Core/DolphinWX/Src/LuaWindow.cpp
@@ -57,7 +57,7 @@ wxLuaWindow::wxLuaWindow(wxFrame* parent, const wxPoint& pos, const wxSize& size
{
// Create Lua context
luaID = luaCount;
- ///Lua::OpenLuaContext(luaID, LuaPrint, NULL, LuaStop);
+ Lua::OpenLuaContext(luaID, LuaPrint, NULL, LuaStop);
g_contextMap[luaID] = this;
luaCount++;
bScriptRunning = false;
@@ -76,7 +76,7 @@ wxLuaWindow::wxLuaWindow(wxFrame* parent, const wxPoint& pos, const wxSize& size
wxLuaWindow::~wxLuaWindow()
{
// On Disposal
- ///Lua::CloseLuaContext(luaID);
+ Lua::CloseLuaContext(luaID);
g_contextMap.erase(luaID);
}
@@ -157,12 +157,12 @@ void wxLuaWindow::OnEvent_ScriptRun_Press(wxCommandEvent& WXUNUSED(event))
m_Button_Run->Disable();
m_Button_Stop->Enable();
- ///Lua::RunLuaScriptFile(luaID, (const char *)currentScript.mb_str());
+ Lua::RunLuaScriptFile(luaID, (const char *)currentScript.mb_str());
}
void wxLuaWindow::OnEvent_ScriptStop_Press(wxCommandEvent& WXUNUSED(event))
{
- ///Lua::StopLuaScript(luaID);
+ Lua::StopLuaScript(luaID);
OnStop();
PrintMessage("Script stopped!\n");
}