Add more info to IEmulator CoreAttributes, add status bar icon that gives the name of the current core with a tooltip with additional info, put bizhawk icon on "in house" cores, and the icon of the ported emulator on ported cores. Still todo: icons for ported cores other than quicknes

This commit is contained in:
adelikat 2014-04-25 01:19:57 +00:00
parent 286c6047c0
commit de1cb218a6
30 changed files with 601 additions and 53 deletions

View File

@ -1381,6 +1381,8 @@
<None Include="config\ControllerImages\GENController.png" /> <None Include="config\ControllerImages\GENController.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="images\QuickNes.png" />
<None Include="images\QuickNES_128.ico" />
<None Include="images\sms-icon.png" /> <None Include="images\sms-icon.png" />
<None Include="images\pcb.png" /> <None Include="images\pcb.png" />
<None Include="images\tvIcon.png" /> <None Include="images\tvIcon.png" />

View File

@ -188,13 +188,13 @@
this.SavestateTypeDefaultMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SavestateTypeDefaultMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SavestateBinaryMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SavestateBinaryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SavestateTextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SavestateTextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.coreSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.gBInSGBToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.nESInQuickNESToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
this.SaveConfigMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SaveConfigMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.LoadConfigMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LoadConfigMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
this.coreSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.gBInSGBToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.nESInQuickNESToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolBoxMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolBoxMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
@ -360,6 +360,7 @@
this.ClearSRAMContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ClearSRAMContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ShowMenuContextMenuSeparator = new System.Windows.Forms.ToolStripSeparator(); this.ShowMenuContextMenuSeparator = new System.Windows.Forms.ToolStripSeparator();
this.ShowMenuContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ShowMenuContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.CoreNameStatusBarButton = new System.Windows.Forms.ToolStripStatusLabel();
this.MainformMenu.SuspendLayout(); this.MainformMenu.SuspendLayout();
this.MainStatusBar.SuspendLayout(); this.MainStatusBar.SuspendLayout();
this.MainFormContextMenu.SuspendLayout(); this.MainFormContextMenu.SuspendLayout();
@ -1748,6 +1749,31 @@
this.SavestateTextMenuItem.Text = "Text"; this.SavestateTextMenuItem.Text = "Text";
this.SavestateTextMenuItem.Click += new System.EventHandler(this.SavestateTextMenuItem_Click); this.SavestateTextMenuItem.Click += new System.EventHandler(this.SavestateTextMenuItem_Click);
// //
// coreSelectionToolStripMenuItem
//
this.coreSelectionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.gBInSGBToolStripMenuItem,
this.nESInQuickNESToolStripMenuItem});
this.coreSelectionToolStripMenuItem.Name = "coreSelectionToolStripMenuItem";
this.coreSelectionToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
this.coreSelectionToolStripMenuItem.Text = "Core Selection";
this.coreSelectionToolStripMenuItem.DropDownOpened += new System.EventHandler(this.coreSelectionToolStripMenuItem_DropDownOpened);
this.coreSelectionToolStripMenuItem.Click += new System.EventHandler(this.coreSelectionToolStripMenuItem_Click);
//
// gBInSGBToolStripMenuItem
//
this.gBInSGBToolStripMenuItem.Name = "gBInSGBToolStripMenuItem";
this.gBInSGBToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
this.gBInSGBToolStripMenuItem.Text = "GB in SGB";
this.gBInSGBToolStripMenuItem.Click += new System.EventHandler(this.gBInSGBToolStripMenuItem_Click);
//
// nESInQuickNESToolStripMenuItem
//
this.nESInQuickNESToolStripMenuItem.Name = "nESInQuickNESToolStripMenuItem";
this.nESInQuickNESToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
this.nESInQuickNESToolStripMenuItem.Text = "NES in QuickNES";
this.nESInQuickNESToolStripMenuItem.Click += new System.EventHandler(this.nESInQuickNESToolStripMenuItem_Click);
//
// toolStripSeparator10 // toolStripSeparator10
// //
this.toolStripSeparator10.Name = "toolStripSeparator10"; this.toolStripSeparator10.Name = "toolStripSeparator10";
@ -1774,31 +1800,6 @@
this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Name = "toolStripSeparator8";
this.toolStripSeparator8.Size = new System.Drawing.Size(156, 6); this.toolStripSeparator8.Size = new System.Drawing.Size(156, 6);
// //
// coreSelectionToolStripMenuItem
//
this.coreSelectionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.gBInSGBToolStripMenuItem,
this.nESInQuickNESToolStripMenuItem});
this.coreSelectionToolStripMenuItem.Name = "coreSelectionToolStripMenuItem";
this.coreSelectionToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
this.coreSelectionToolStripMenuItem.Text = "Core Selection";
this.coreSelectionToolStripMenuItem.DropDownOpened += new System.EventHandler(this.coreSelectionToolStripMenuItem_DropDownOpened);
this.coreSelectionToolStripMenuItem.Click += new System.EventHandler(this.coreSelectionToolStripMenuItem_Click);
//
// gBInSGBToolStripMenuItem
//
this.gBInSGBToolStripMenuItem.Name = "gBInSGBToolStripMenuItem";
this.gBInSGBToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
this.gBInSGBToolStripMenuItem.Text = "GB in SGB";
this.gBInSGBToolStripMenuItem.Click += new System.EventHandler(this.gBInSGBToolStripMenuItem_Click);
//
// nESInQuickNESToolStripMenuItem
//
this.nESInQuickNESToolStripMenuItem.Name = "nESInQuickNESToolStripMenuItem";
this.nESInQuickNESToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
this.nESInQuickNESToolStripMenuItem.Text = "NES in QuickNES";
this.nESInQuickNESToolStripMenuItem.Click += new System.EventHandler(this.nESInQuickNESToolStripMenuItem_Click);
//
// toolsToolStripMenuItem // toolsToolStripMenuItem
// //
this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -2678,7 +2679,8 @@
this.Slot9StatusButton, this.Slot9StatusButton,
this.Slot0StatusButton, this.Slot0StatusButton,
this.CheatStatusButton, this.CheatStatusButton,
this.KeyPriorityStatusLabel}); this.KeyPriorityStatusLabel,
this.CoreNameStatusBarButton});
this.MainStatusBar.Location = new System.Drawing.Point(0, 386); this.MainStatusBar.Location = new System.Drawing.Point(0, 386);
this.MainStatusBar.Name = "MainStatusBar"; this.MainStatusBar.Name = "MainStatusBar";
this.MainStatusBar.ShowItemToolTips = true; this.MainStatusBar.ShowItemToolTips = true;
@ -2839,8 +2841,9 @@
// //
this.KeyPriorityStatusLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.KeyPriorityStatusLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.KeyPriorityStatusLabel.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Both; this.KeyPriorityStatusLabel.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Both;
this.KeyPriorityStatusLabel.Margin = new System.Windows.Forms.Padding(5, 3, 5, 0);
this.KeyPriorityStatusLabel.Name = "KeyPriorityStatusLabel"; this.KeyPriorityStatusLabel.Name = "KeyPriorityStatusLabel";
this.KeyPriorityStatusLabel.Size = new System.Drawing.Size(16, 17); this.KeyPriorityStatusLabel.Size = new System.Drawing.Size(16, 19);
this.KeyPriorityStatusLabel.Text = "KeyPriority"; this.KeyPriorityStatusLabel.Text = "KeyPriority";
this.KeyPriorityStatusLabel.Click += new System.EventHandler(this.KeyPriorityStatusLabel_Click); this.KeyPriorityStatusLabel.Click += new System.EventHandler(this.KeyPriorityStatusLabel_Click);
// //
@ -3143,6 +3146,13 @@
this.ShowMenuContextMenuItem.Text = "Show Menu"; this.ShowMenuContextMenuItem.Text = "Show Menu";
this.ShowMenuContextMenuItem.Click += new System.EventHandler(this.ShowMenuContextMenuItem_Click); this.ShowMenuContextMenuItem.Click += new System.EventHandler(this.ShowMenuContextMenuItem_Click);
// //
// CoreNameStatusBarButton
//
this.CoreNameStatusBarButton.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.CorpHawkSmall;
this.CoreNameStatusBarButton.Name = "CoreNameStatusBarButton";
this.CoreNameStatusBarButton.Size = new System.Drawing.Size(71, 17);
this.CoreNameStatusBarButton.Text = "Neshawk";
//
// MainForm // MainForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F);
@ -3514,6 +3524,7 @@
private System.Windows.Forms.ToolStripMenuItem extensionsToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem extensionsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem Atari2600DebuggerMenuItem; private System.Windows.Forms.ToolStripMenuItem Atari2600DebuggerMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator31; private System.Windows.Forms.ToolStripSeparator toolStripSeparator31;
private System.Windows.Forms.ToolStripStatusLabel CoreNameStatusBarButton;
} }
} }

View File

@ -12,6 +12,7 @@ using BizHawk.Common;
using BizHawk.Emulation.Common; using BizHawk.Emulation.Common;
using BizHawk.Emulation.Cores.Atari.Atari2600; using BizHawk.Emulation.Cores.Atari.Atari2600;
using BizHawk.Emulation.Cores.Calculators; using BizHawk.Emulation.Cores.Calculators;
using BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES;
using BizHawk.Emulation.Cores.Consoles.Sega.gpgx; using BizHawk.Emulation.Cores.Consoles.Sega.gpgx;
using BizHawk.Emulation.Cores.Nintendo.Gameboy; using BizHawk.Emulation.Cores.Nintendo.Gameboy;
using BizHawk.Emulation.Cores.Nintendo.GBA; using BizHawk.Emulation.Cores.Nintendo.GBA;
@ -2319,6 +2320,49 @@ namespace BizHawk.Client.EmuHawk
return (ModifierKeys & Keys.Alt) != 0 || base.ProcessDialogChar(charCode); return (ModifierKeys & Keys.Alt) != 0 || base.ProcessDialogChar(charCode);
} }
private void UpdateCoreStatusBarButton()
{
if (Global.Emulator is NullEmulator)
{
CoreNameStatusBarButton.Visible = false;
return;
}
CoreNameStatusBarButton.Visible = true;
CoreAttributes attributes = Global.Emulator.Attributes();
CoreNameStatusBarButton.Text =
(!attributes.Released ? "(Experimental) " : string.Empty) +
attributes.CoreName;
CoreNameStatusBarButton.ToolTipText =
(attributes.Ported ? "(ported) " : string.Empty) +
"written by: " + attributes.Author;
if (!attributes.Ported)
{
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.CorpHawkSmall;
}
else
{
if (Global.Emulator is QuickNES)
{
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.QuickNes;
}
// TODO: other icons
// unknown
// yabause,
// bsnes,
// mupen64plus,
// atari 7800,
// ppsspp,
// gambattte,
// meteor,
// gpgx
}
}
#endregion #endregion
#region Frame Loop #region Frame Loop
@ -2967,6 +3011,7 @@ namespace BizHawk.Client.EmuHawk
HandlePlatformMenus(); HandlePlatformMenus();
_stateSlots.Clear(); _stateSlots.Clear();
UpdateStatusSlots(); UpdateStatusSlots();
UpdateCoreStatusBarButton();
UpdateDumpIcon(); UpdateDumpIcon();
Global.Rewinder.CaptureRewindState(); Global.Rewinder.CaptureRewindState();
@ -3093,10 +3138,11 @@ namespace BizHawk.Client.EmuHawk
RewireSound(); RewireSound();
Global.Rewinder.ResetRewindBuffer(); Global.Rewinder.ResetRewindBuffer();
Text = "BizHawk" + (VersionInfo.INTERIM ? " (interim) " : String.Empty); Text = "BizHawk" + (VersionInfo.INTERIM ? " (interim) " : string.Empty);
HandlePlatformMenus(); HandlePlatformMenus();
_stateSlots.Clear(); _stateSlots.Clear();
UpdateDumpIcon(); UpdateDumpIcon();
UpdateCoreStatusBarButton();
ToolHelpers.UpdateCheatRelatedTools(null, null); ToolHelpers.UpdateCheatRelatedTools(null, null);
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -903,4 +903,7 @@
<data name="sms_icon" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="sms_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\sms-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\images\sms-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="QuickNes" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\QuickNes.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

View File

@ -50,6 +50,7 @@
<Compile Include="Database\Database.cs" /> <Compile Include="Database\Database.cs" />
<Compile Include="Database\FirmwareDatabase.cs" /> <Compile Include="Database\FirmwareDatabase.cs" />
<Compile Include="Database\GameInfo.cs" /> <Compile Include="Database\GameInfo.cs" />
<Compile Include="Extensions.cs" />
<Compile Include="Interfaces\Base Implementations\NullController.cs" /> <Compile Include="Interfaces\Base Implementations\NullController.cs" />
<Compile Include="Interfaces\Base Implementations\NullEmulator.cs" /> <Compile Include="Interfaces\Base Implementations\NullEmulator.cs" />
<Compile Include="Interfaces\CoreComms.cs" /> <Compile Include="Interfaces\CoreComms.cs" />

View File

@ -4,11 +4,17 @@ namespace BizHawk.Emulation.Common
{ {
public class CoreAttributes : Attribute public class CoreAttributes : Attribute
{ {
public CoreAttributes(string name) public CoreAttributes(string name, string author, bool isPorted = false, bool isReleased = false)
{ {
CoreName = name; CoreName = name;
Author = author;
Ported = isPorted;
Released = isReleased;
} }
public string CoreName { get; private set; } public string CoreName { get; private set; }
public string Author { get; private set; }
public bool Ported { get; private set; }
public bool Released { get; private set; }
} }
} }

View File

@ -0,0 +1,12 @@
using System;
namespace BizHawk.Emulation.Common
{
public static class Extensions
{
public static CoreAttributes Attributes(this IEmulator core)
{
return (CoreAttributes)Attribute.GetCustomAttribute(core.GetType(), typeof(CoreAttributes));
}
}
}

View File

@ -5,7 +5,7 @@ using BizHawk.Common;
namespace BizHawk.Emulation.Common namespace BizHawk.Emulation.Common
{ {
[CoreAttributes("NullHawk")] [CoreAttributes("NullHawk", "")]
public class NullEmulator : IEmulator, IVideoProvider, ISyncSoundProvider, ISoundProvider public class NullEmulator : IEmulator, IVideoProvider, ISyncSoundProvider, ISoundProvider
{ {
public string SystemId { get { return "NULL"; } } public string SystemId { get { return "NULL"; } }

View File

@ -11,7 +11,12 @@ using BizHawk.Emulation.Cores.Components.Z80;
namespace BizHawk.Emulation.Cores.Calculators namespace BizHawk.Emulation.Cores.Calculators
{ {
[CoreAttributes("TI83Hawk")] [CoreAttributes(
"TI83Hawk",
"zeromus",
isPorted: false,
isReleased: true
)]
public class TI83 : IEmulator public class TI83 : IEmulator
{ {
//hardware //hardware

View File

@ -6,7 +6,12 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Computers.Commodore64 namespace BizHawk.Emulation.Cores.Computers.Commodore64
{ {
[CoreAttributes("C64Hawk")] [CoreAttributes(
"C64Hawk",
"SaxxonPIke",
isPorted: false,
isReleased: false
)]
sealed public partial class C64 : IEmulator sealed public partial class C64 : IEmulator
{ {
// internal variables // internal variables

View File

@ -9,7 +9,12 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Atari.Atari2600 namespace BizHawk.Emulation.Cores.Atari.Atari2600
{ {
[CoreAttributes("Atari2600Hawk")] [CoreAttributes(
"Atari2600Hawk",
"Micro500, adelikat",
isPorted: false,
isReleased: true
)]
public partial class Atari2600 : IEmulator public partial class Atari2600 : IEmulator
{ {
private readonly GameInfo _game; private readonly GameInfo _game;

View File

@ -8,7 +8,12 @@ using EMU7800.Core;
namespace BizHawk.Emulation.Cores.Atari.Atari7800 namespace BizHawk.Emulation.Cores.Atari.Atari7800
{ {
[CoreAttributes("EMU7800")] [CoreAttributes(
"EMU7800",
"Mike Murphy",
isPorted: true,
isReleased: true
)]
public partial class Atari7800 : IEmulator public partial class Atari7800 : IEmulator
{ {
// TODO: // TODO:

View File

@ -9,7 +9,12 @@ using BizHawk.Emulation.Cores.Components.Z80;
namespace BizHawk.Emulation.Cores.ColecoVision namespace BizHawk.Emulation.Cores.ColecoVision
{ {
[CoreAttributes("ColecoHawk")] [CoreAttributes(
"ColecoHawk",
"Vecna",
isPorted: false,
isReleased: true
)]
public sealed partial class ColecoVision : IEmulator public sealed partial class ColecoVision : IEmulator
{ {
// ROM // ROM

View File

@ -7,7 +7,12 @@ using BizHawk.Emulation.Cores.Components.CP1610;
namespace BizHawk.Emulation.Cores.Intellivision namespace BizHawk.Emulation.Cores.Intellivision
{ {
[CoreAttributes("IntelliHawk")] [CoreAttributes(
"IntelliHawk",
"BrandonE",
isPorted: false,
isReleased: false
)]
public sealed partial class Intellivision : IEmulator public sealed partial class Intellivision : IEmulator
{ {
byte[] Rom; byte[] Rom;

View File

@ -8,7 +8,12 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Nintendo.GBA namespace BizHawk.Emulation.Cores.Nintendo.GBA
{ {
[CoreAttributes("Meteor")] [CoreAttributes(
"Meteor",
"blastrock",
isPorted: true,
isReleased: true
)]
public class GBA : IEmulator, IVideoProvider, ISyncSoundProvider public class GBA : IEmulator, IVideoProvider, ISyncSoundProvider
{ {
public Dictionary<string, int> GetCpuFlagsAndRegisters() public Dictionary<string, int> GetCpuFlagsAndRegisters()

View File

@ -10,7 +10,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
/// <summary> /// <summary>
/// a gameboy/gameboy color emulator wrapped around native C++ libgambatte /// a gameboy/gameboy color emulator wrapped around native C++ libgambatte
/// </summary> /// </summary>
[CoreAttributes("Gambatte")] [CoreAttributes(
"Gambatte",
"sinamas",
isPorted: true,
isReleased: false
)]
public class Gameboy : IEmulator, IVideoProvider, ISyncSoundProvider public class Gameboy : IEmulator, IVideoProvider, ISyncSoundProvider
{ {
/// <summary> /// <summary>

View File

@ -9,7 +9,12 @@ using BizHawk.Emulation.Cores.Nintendo.SNES;
namespace BizHawk.Emulation.Cores.Nintendo.Gameboy namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
{ {
[CoreAttributes("DualGambatte")] [CoreAttributes(
"DualGambatte",
"sinamas/natt",
isPorted: true,
isReleased: true
)]
public class GambatteLink : IEmulator, IVideoProvider, ISyncSoundProvider public class GambatteLink : IEmulator, IVideoProvider, ISyncSoundProvider
{ {
bool disposed = false; bool disposed = false;

View File

@ -11,7 +11,12 @@ using BizHawk.Emulation.Cores.Nintendo.N64.NativeApi;
namespace BizHawk.Emulation.Cores.Nintendo.N64 namespace BizHawk.Emulation.Cores.Nintendo.N64
{ {
[CoreAttributes("Mupen64Plus")] [CoreAttributes(
"Mupen64Plus",
"Richard Goedeken",
isPorted: true,
isReleased: true
)]
public class N64 : IEmulator public class N64 : IEmulator
{ {
public Dictionary<string, int> GetCpuFlagsAndRegisters() public Dictionary<string, int> GetCpuFlagsAndRegisters()

View File

@ -9,7 +9,12 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Nintendo.NES namespace BizHawk.Emulation.Cores.Nintendo.NES
{ {
[CoreAttributes("NesHawk")] [CoreAttributes(
"NesHawk",
"zeromus, natt, adelikat",
isPorted: false,
isReleased: true
)]
public partial class NES : IEmulator public partial class NES : IEmulator
{ {
static readonly bool USE_DATABASE = true; static readonly bool USE_DATABASE = true;

View File

@ -10,7 +10,12 @@ using Newtonsoft.Json;
namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES
{ {
[CoreAttributes("QuickNes")] [CoreAttributes(
"QuickNes",
"kode54",
isPorted: true,
isReleased: true
)]
public class QuickNES : IEmulator, IVideoProvider, ISyncSoundProvider public class QuickNES : IEmulator, IVideoProvider, ISyncSoundProvider
{ {
#region FPU precision #region FPU precision

View File

@ -57,7 +57,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
} }
} }
[CoreAttributes("BSNES")] [CoreAttributes(
"BSNES",
"byuu",
isPorted: true,
isReleased: false
)]
public unsafe class LibsnesCore : IEmulator, IVideoProvider public unsafe class LibsnesCore : IEmulator, IVideoProvider
{ {
public bool IsSGB { get; private set; } public bool IsSGB { get; private set; }

View File

@ -13,7 +13,12 @@ namespace BizHawk.Emulation.Cores.PCEngine
{ {
public enum NecSystemType { TurboGrafx, TurboCD, SuperGrafx } public enum NecSystemType { TurboGrafx, TurboCD, SuperGrafx }
[CoreAttributes("PCEHawk")] [CoreAttributes(
"PCEHawk",
"Vecna",
isPorted: false,
isReleased: true
)]
public sealed partial class PCEngine : IEmulator public sealed partial class PCEngine : IEmulator
{ {
// ROM // ROM

View File

@ -14,7 +14,12 @@ using Native68000;
namespace BizHawk.Emulation.Cores.Sega.Genesis namespace BizHawk.Emulation.Cores.Sega.Genesis
{ {
[CoreAttributes("GenesisHawk")] [CoreAttributes(
"GenesisHawk",
"Vecna",
isPorted: false,
isReleased: false
)]
public sealed partial class Genesis : IEmulator public sealed partial class Genesis : IEmulator
{ {
private int _lagcount = 0; private int _lagcount = 0;

View File

@ -19,7 +19,12 @@ using BizHawk.Emulation.Cores.Components.Z80;
namespace BizHawk.Emulation.Cores.Sega.MasterSystem namespace BizHawk.Emulation.Cores.Sega.MasterSystem
{ {
[CoreAttributes("SMSHawk")] [CoreAttributes(
"SMSHawk",
"Vecna",
isPorted: false,
isReleased: true
)]
public sealed partial class SMS : IEmulator public sealed partial class SMS : IEmulator
{ {
// Constants // Constants

View File

@ -11,7 +11,12 @@ using BizHawk.Emulation.DiscSystem;
namespace BizHawk.Emulation.Cores.Sega.Saturn namespace BizHawk.Emulation.Cores.Sega.Saturn
{ {
[CoreAttributes("Yabause")] [CoreAttributes(
"Yabause",
"Guillaume",
isPorted: true,
isReleased: true
)]
public class Yabause : IEmulator, IVideoProvider, ISyncSoundProvider public class Yabause : IEmulator, IVideoProvider, ISyncSoundProvider
{ {
public static ControllerDefinition SaturnController = new ControllerDefinition public static ControllerDefinition SaturnController = new ControllerDefinition

View File

@ -15,7 +15,12 @@ using System.ComponentModel;
namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
{ {
[CoreAttributes("Genplus-gx")] [CoreAttributes(
"Genplus-gx",
"ekeeke31",
isPorted: true,
isReleased: true
)]
public class GPGX : IEmulator, ISyncSoundProvider, IVideoProvider public class GPGX : IEmulator, ISyncSoundProvider, IVideoProvider
{ {
static GPGX AttachedCore = null; static GPGX AttachedCore = null;

View File

@ -8,7 +8,12 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Sony.PSP namespace BizHawk.Emulation.Cores.Sony.PSP
{ {
[CoreAttributes("PPSSPP")] [CoreAttributes(
"PPSSPP",
"hrydgard",
isPorted: true,
isReleased: false
)]
public class PSP : IEmulator, IVideoProvider, ISyncSoundProvider public class PSP : IEmulator, IVideoProvider, ISyncSoundProvider
{ {
public static readonly ControllerDefinition PSPController = new ControllerDefinition public static readonly ControllerDefinition PSPController = new ControllerDefinition

View File

@ -9,7 +9,12 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Sony.PSX namespace BizHawk.Emulation.Cores.Sony.PSX
{ {
[CoreAttributes("MednafenPSX")] [CoreAttributes(
"MednafenPSX",
"Ryphecha",
isPorted: true,
isReleased: false
)]
public unsafe class Octoshock : IEmulator, IVideoProvider, ISoundProvider public unsafe class Octoshock : IEmulator, IVideoProvider, ISoundProvider
{ {
public string SystemId { get { return "NULL"; } } public string SystemId { get { return "NULL"; } }