diff --git a/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs b/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs index 1b29884878..e8083c6848 100644 --- a/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs +++ b/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs @@ -349,5 +349,11 @@ namespace BizHawk.Client.Common return ""; } + + [LuaMethod("getluacore", "returns the name of the Lua core currently in use")] + public string GetLuaBackend() + { + return Lua.WhichLua; + } } }