Closed Isotarge closed 1 month ago
The only way
https://github.com/TASEmulators/BizHawk/blob/45e2307a7bfd087d3dac38f886b1af349953e7a9/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/TAStudioLuaLibrary.cs#L510-L520
could give an IooRE would be if the callback is returning 0 values. Add a return nil;
here.
I'm guessing the implementation of Call
in the old Lua engines was null
(or maybe new object?[] { null }
) for empty return
s, while the new engine has new object?[] {}
. (I don't believe the Lua language makes that distinction.)
Okie dokie, thank you for the fast response :)
Summary
TAStudio custom columns appear to be broken shortly after BizHawk 2.8. I have tested this with my own game and Lua script: Knight Shift and ScriptHawk. When running those two together with TAStudio open, I get an exception, a red X where the list view for inputs should be, and the custom columns are not displayed.
I am using the following functions in the TAStudio Lua module:
Repro
Output
Host env.
BizHawk 2.8 or earlier (working) (tested back to 2.2.2)
BizHawk 2.9 or later (broken)