Lua - movie.getinput() - fix

This commit is contained in:
andres.delikat 2012-03-27 20:10:05 +00:00
parent 489086716d
commit 83fe222ba9
1 changed files with 1 additions and 0 deletions

View File

@ -1133,6 +1133,7 @@ namespace BizHawk.MultiClient
string s = Global.MovieSession.Movie.GetInputFrame(LuaInt(frame));
MovieControllerAdapter m = new MovieControllerAdapter();
m.Type = Global.MovieSession.MovieControllerAdapter.Type;
m.SetControllersAsMnemonic(s);
foreach (string button in m.Type.BoolButtons)
input[button] = m[button];