Fix Lua documentation - #1389
This commit is contained in:
parent
6621827b8f
commit
eee1cb481c
|
@ -19,7 +19,7 @@ namespace BizHawk.Client.Common
|
||||||
public override string Name => "gameinfo";
|
public override string Name => "gameinfo";
|
||||||
|
|
||||||
[LuaMethodExample("local stgamget = gameinfo.getromname( );")]
|
[LuaMethodExample("local stgamget = gameinfo.getromname( );")]
|
||||||
[LuaMethod("getromname", "returns the path of the currently loaded rom, if a rom is loaded")]
|
[LuaMethod("getromname", "returns the name of the currently loaded rom, if a rom is loaded")]
|
||||||
public string GetRomName()
|
public string GetRomName()
|
||||||
{
|
{
|
||||||
if (Global.Game != null)
|
if (Global.Game != null)
|
||||||
|
|
Loading…
Reference in New Issue