Fix Lua documentation - #1389

This commit is contained in:
Asnivor 2018-12-08 08:47:17 +00:00 committed by GitHub
parent 6621827b8f
commit eee1cb481c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)