From 2d643f78b1c3bfb9d663e89ed69ab486e7955c4b Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 1 Nov 2013 15:19:35 +0000 Subject: [PATCH] rename lua functions that have changed in all checked in lua scripts --- BizHawk.MultiClient/output/Lua/ButtonCount.lua | 6 +++--- BizHawk.MultiClient/output/Lua/N64/M64_reader.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BizHawk.MultiClient/output/Lua/ButtonCount.lua b/BizHawk.MultiClient/output/Lua/ButtonCount.lua index 3697c0153b..28a9c37637 100644 --- a/BizHawk.MultiClient/output/Lua/ButtonCount.lua +++ b/BizHawk.MultiClient/output/Lua/ButtonCount.lua @@ -104,9 +104,9 @@ end reset() frames() -if savestate.registerload then - savestate.registerload(load) - savestate.registersave(save) +if event.onloadstate then + event.onloadstate(load) + event.onsavestate(save) end while true do diff --git a/BizHawk.MultiClient/output/Lua/N64/M64_reader.lua b/BizHawk.MultiClient/output/Lua/N64/M64_reader.lua index e71b55a0ad..e46a1d3bf9 100644 --- a/BizHawk.MultiClient/output/Lua/N64/M64_reader.lua +++ b/BizHawk.MultiClient/output/Lua/N64/M64_reader.lua @@ -195,7 +195,7 @@ while true do if finished then console.output("Movie finished") - emu.pause() + client.pause() return end