meh, slight tweak to that commit

This commit is contained in:
adelikat 2014-04-13 14:24:38 +00:00
parent 9c3a7fec37
commit d5d84943fa
2 changed files with 6 additions and 6 deletions

View File

@ -43,10 +43,10 @@ namespace BizHawk.Client.Common
}
[LuaMethodAttributes(
"getindatabase",
"indatabase",
"returns whether or not the currently loaded rom is in the game database"
)]
public bool GetInDatabase()
public bool InDatabase()
{
if (Global.Game != null)
{
@ -71,10 +71,10 @@ namespace BizHawk.Client.Common
}
[LuaMethodAttributes(
"getisstatusbad",
"isstatusbad",
"returns the currently loaded rom's game database status is considered 'bad'"
)]
public bool GetIsStatusBad()
public bool IsStatusBad()
{
if (Global.Game != null)
{

View File

@ -2,9 +2,9 @@ console.log("Game Info library test")
console.log("Rom Name: " .. gameinfo.getromname());
console.log("Rom Hash: " .. gameinfo.getromhash());
console.log("Display Type: " .. emu.getdisplaytype());
console.log("In Database?: " .. tostring(gameinfo.getindatabase()));
console.log("In Database?: " .. tostring(gameinfo.indatabase()));
console.log("Rom Status: " .. gameinfo.getstatus());
console.log("Is Status Bad?: " .. tostring(gameinfo.getisstatusbad()));
console.log("Is Status Bad?: " .. tostring(gameinfo.isstatusbad()));
console.log("Board Type: " .. gameinfo.getboardtype());
console.log("Game Options: ")
console.log(gameinfo.getoptions());