* fixed filename reference in Luabot.lua (#603)

* SDL: fixed instructions counting (even though the only way to see the value of the counter is to use debugger.getinstructionscount() in Lua)
This commit is contained in:
ansstuff 2013-05-26 16:20:38 +00:00
parent 50a1ad74ab
commit 78b47b938a
2 changed files with 1 additions and 3 deletions

View File

@ -142,7 +142,7 @@ function createGUI(n)
-- ok, file selected, if an error occurred or user canceled, the function already returned, so lets write the bot!
-- get the framework first. we need it to find the relevant tokens
local fh = assert(io.open("basicbot_framework.lua","r"));
local fh = assert(io.open("luabot_framework.lua","r"));
local framework = fh:read("*a");
fh:close();

View File

@ -740,10 +740,8 @@ void DebugCycle()
uint16 A = 0;
int size;
#ifdef WIN32
// since this function is called once for every instruction, we can use it for keeping statistics
IncrementInstructionsCounters();
#endif
if (scanline == 240)
{