SGB Cheats Fix (#2980)
NOTE: LLE SGB cores seem to report an SNES ID anyways. Cheat code converter would need some work if changing them to report a SGB ID (also see https://github.com/TASEmulators/BizHawk/issues/2863#issuecomment-881970014)
This commit is contained in:
parent
080ed049f5
commit
bb318df49e
|
@ -17,7 +17,7 @@ namespace BizHawk.Client.Common.cheats
|
|||
{
|
||||
return _systemId switch
|
||||
{
|
||||
"GB" => GameBoy(code),
|
||||
"GB" or "SGB" => GameBoy(code), // FIXME: HLE SGB cores report a "SGB" ID, while LLE SNES cores report a "SNES" ID, is this intentional?
|
||||
"GBA" => Gba(code),
|
||||
"GEN" => Gen(code),
|
||||
"N64" => N64(code),
|
||||
|
@ -55,7 +55,6 @@ namespace BizHawk.Client.Common.cheats
|
|||
if (code.LastIndexOf("-") == 7 && code.IndexOf("-") == 3)
|
||||
{
|
||||
return GbGgGameGenieDecoder.Decode(code);
|
||||
|
||||
}
|
||||
|
||||
// Game Shark codes
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
[Tool(
|
||||
released: true,
|
||||
supportedSystems: new[] { "GB", "GBA", "GEN", "N64", "NES", "PSX", "SAT", "SMS", "SNES" },
|
||||
supportedSystems: new[] { "GB", "GBA", "GEN", "N64", "NES", "PSX", "SAT", "SGB", "SMS", "SNES" },
|
||||
unsupportedCores: new[] { CoreNames.Snes9X })]
|
||||
public partial class GameShark : ToolFormBase, IToolFormAutoConfig
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue