remove 2 deprecated nes library methods (add/remove game genie), they were marked deprecated for enough releases that I think we can go ahead and remove them
This commit is contained in:
parent
6225e7854b
commit
7bb5506ba8
|
@ -30,13 +30,6 @@ namespace BizHawk.Client.Common
|
|||
set => APIs.Emulation.PutSettings(value);
|
||||
}
|
||||
|
||||
[LuaDeprecatedMethod]
|
||||
[LuaMethod("addgamegenie", "Adds the specified game genie code. If an NES game is not currently loaded or the code is not a valid game genie code, this will have no effect")]
|
||||
public void AddGameGenie(string code)
|
||||
{
|
||||
Log("Method no longer supported, use client.addcheat() instead");
|
||||
}
|
||||
|
||||
/// <exception cref="InvalidOperationException">loaded core is not NESHawk or QuickNes</exception>
|
||||
[LuaMethodExample("if ( nes.getallowmorethaneightsprites( ) ) then\r\n\tconsole.log( \"Gets the NES setting 'Allow more than 8 sprites per scanline' value\" );\r\nend;")]
|
||||
[LuaMethod("getallowmorethaneightsprites", "Gets the NES setting 'Allow more than 8 sprites per scanline' value")]
|
||||
|
@ -97,13 +90,6 @@ namespace BizHawk.Client.Common
|
|||
_ => throw new InvalidOperationException()
|
||||
};
|
||||
|
||||
[LuaDeprecatedMethod]
|
||||
[LuaMethod("removegamegenie", "Removes the specified game genie code. If an NES game is not currently loaded or the code is not a valid game genie code, this will have no effect")]
|
||||
public void RemoveGameGenie(string code)
|
||||
{
|
||||
Log("Method no longer supported, use client.removecheat() instead");
|
||||
}
|
||||
|
||||
/// <exception cref="InvalidOperationException">loaded core is not NESHawk or QuickNes</exception>
|
||||
[LuaMethodExample("nes.setallowmorethaneightsprites( true );")]
|
||||
[LuaMethod("setallowmorethaneightsprites", "Sets the NES setting 'Allow more than 8 sprites per scanline'")]
|
||||
|
|
Loading…
Reference in New Issue