From 41de03e31c2df9ea92f9f05df33a7e86d31eca7f Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sat, 7 May 2022 15:58:07 +1000 Subject: [PATCH] Default to "NLua+KopiLua" on Linux --- src/BizHawk.Client.Common/config/Config.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/config/Config.cs b/src/BizHawk.Client.Common/config/Config.cs index 59b11c934d..57b66a0fe4 100644 --- a/src/BizHawk.Client.Common/config/Config.cs +++ b/src/BizHawk.Client.Common/config/Config.cs @@ -149,7 +149,7 @@ namespace BizHawk.Client.Common public int FlushSaveRamFrames { get; set; } /// Don't rename this without changing BizHawk.Client.EmuHawk.Program.CurrentDomain_AssemblyResolve - public ELuaEngine LuaEngine { get; set; } = ELuaEngine.LuaPlusLuaInterface; + public ELuaEngine LuaEngine { get; set; } = OSTailoredCode.IsUnixHost ? ELuaEngine.NLuaPlusKopiLua : ELuaEngine.LuaPlusLuaInterface; public bool TurboSeek { get; set; }