Genesis Game Genie - restrict to the GPGX core so it isn't available on non-genesis systems

This commit is contained in:
adelikat 2015-01-02 17:41:56 +00:00
parent a075435ce8
commit 581df3157c
1 changed files with 8 additions and 1 deletions

View File

@ -8,14 +8,21 @@ using BizHawk.Emulation.Common;
using BizHawk.Emulation.Common.IEmulatorExtensions; using BizHawk.Emulation.Common.IEmulatorExtensions;
using BizHawk.Client.Common; using BizHawk.Client.Common;
using BizHawk.Emulation.Cores.Consoles.Sega.gpgx;
namespace BizHawk.Client.EmuHawk namespace BizHawk.Client.EmuHawk
{ {
public partial class GenGameGenie : Form, IToolFormAutoConfig public partial class GenGameGenie : Form, IToolFormAutoConfig
{ {
#pragma warning disable 675 #pragma warning disable 675
/// <summary>
/// For now this is is an unecessary restriction to make sure it doesn't show up as available for non-genesis cores
/// Note: this unnecessarily prevents it from being on the Genesis core, but that's okay it isn't released
/// Eventually we want a generic game genie tool and a hack like this won't be necessary
/// </summary>
[RequiredService] [RequiredService]
private IEmulator Emulator { get; set; } private GPGX Emulator { get; set; }
[RequiredService] [RequiredService]
private IMemoryDomains MemoryDomainService { get; set; } private IMemoryDomains MemoryDomainService { get; set; }