meh, slight tweak to that commit
This commit is contained in:
parent
9c3a7fec37
commit
d5d84943fa
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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());
|
Loading…
Reference in New Issue