From e94de78ebd7907a2c12ba25c0e00ef804d2cd859 Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 14 Dec 2016 13:22:01 -0600 Subject: [PATCH] Lua - fix movie.getinput() to return float values instead of passing "False" no matter what --- BizHawk.Client.Common/lua/EmuLuaLibrary.Movie.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.Common/lua/EmuLuaLibrary.Movie.cs b/BizHawk.Client.Common/lua/EmuLuaLibrary.Movie.cs index 5d75b200e1..22aedce2e5 100644 --- a/BizHawk.Client.Common/lua/EmuLuaLibrary.Movie.cs +++ b/BizHawk.Client.Common/lua/EmuLuaLibrary.Movie.cs @@ -70,7 +70,7 @@ namespace BizHawk.Client.Common foreach (var button in adapter.Definition.FloatControls) { - input[button] = adapter[button]; + input[button] = adapter.GetFloat(button); } return input;