From 8c0c00c2bf9b2a9d6eeb9b69c7ca6b5f8a7f4808 Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 1 Jan 2020 17:03:01 -0600 Subject: [PATCH] lua - movie.save() - fix bug that was preventing the optional filename parameter from being used --- 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 ba07926f20..11e6c12491 100644 --- a/BizHawk.Client.Common/lua/EmuLuaLibrary.Movie.cs +++ b/BizHawk.Client.Common/lua/EmuLuaLibrary.Movie.cs @@ -66,7 +66,7 @@ namespace BizHawk.Client.Common [LuaMethodExample("movie.save( \"C:\\moviename.ext\" );")] [LuaMethod("save", "Saves the current movie to the disc. If the filename is provided (no extension or path needed), the movie is saved under the specified name to the current movie directory. The filename may contain a subdirectory, it will be created if it doesn't exist. Existing files won't get overwritten.")] - public void Save(string filename = "") => APIs.Movie.Save(); + public void Save(string filename = "") => APIs.Movie.Save(filename); [LuaMethodExample("movie.setreadonly( false );")] [LuaMethod("setreadonly", "Sets the read-only state to the given value. true for read only, false for read+write")]