This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- VBA/Bizhawk shim, to allow lua scripts written for VBA-rr to run in BizHawk. | |
-- Copy and paste this script into the start of a VBA-rr script to make it run in | |
-- BizHawk with no further modifications. | |
-- Changes to BizHawk's built-in tables persist while the lua console window is open. | |
-- Make sure we don't copy our already-updated objects. | |
if type(joypad.get) == "userdata" then | |
bizJoypad = copytable(joypad) | |
end |