Skip to content

Commit d4e10f0

Browse files
committed
Inline remaining usage of ILuaLibraries.EngineName
1 parent 9454320 commit d4e10f0

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

src/BizHawk.Client.Common/lua/CommonLibs/ClientLuaLibrary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void FrameSkip(int numFrames)
9292

9393
[LuaMethod("get_lua_engine", "returns the name of the Lua engine currently in use")]
9494
public string GetLuaEngine()
95-
=> _luaLibsImpl.EngineName;
95+
=> "NLua+Lua";
9696

9797
[LuaMethodExample("client.invisibleemulation( true );")]
9898
[LuaMethod("invisibleemulation", "Disables and enables emulator updates")]

src/BizHawk.Client.Common/lua/ILuaLibraries.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ public interface ILuaLibraries
66
{
77
LuaDocumentation Docs { get; }
88

9-
string EngineName { get; }
10-
119
/// <remarks>pretty hacky... we don't want a lua script to be able to restart itself by rebooting the core</remarks>
1210
bool IsRebootingCore { get; set; }
1311

src/BizHawk.Client.EmuHawk/tools/Lua/LuaLibraries.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ void EnumerateLuaFunctions(string name, Type type, LuaLibraryBase instance)
172172

173173
private EmulationLuaLibrary EmulationLuaLibrary => (EmulationLuaLibrary)Libraries[typeof(EmulationLuaLibrary)];
174174

175-
public string EngineName => "NLua+Lua";
176-
177175
public bool IsRebootingCore { get; set; }
178176

179177
public bool IsUpdateSupressed { get; set; }

0 commit comments

Comments
 (0)