Lua - movie.getinput() - fix
This commit is contained in:
parent
489086716d
commit
83fe222ba9
|
@ -1133,6 +1133,7 @@ namespace BizHawk.MultiClient
|
||||||
string s = Global.MovieSession.Movie.GetInputFrame(LuaInt(frame));
|
string s = Global.MovieSession.Movie.GetInputFrame(LuaInt(frame));
|
||||||
|
|
||||||
MovieControllerAdapter m = new MovieControllerAdapter();
|
MovieControllerAdapter m = new MovieControllerAdapter();
|
||||||
|
m.Type = Global.MovieSession.MovieControllerAdapter.Type;
|
||||||
m.SetControllersAsMnemonic(s);
|
m.SetControllersAsMnemonic(s);
|
||||||
foreach (string button in m.Type.BoolButtons)
|
foreach (string button in m.Type.BoolButtons)
|
||||||
input[button] = m[button];
|
input[button] = m[button];
|
||||||
|
|
Loading…
Reference in New Issue