From bb940473bb550e83a488b3bd8c12ee0eac21c28f Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 16 Dec 2014 17:06:29 +0000 Subject: [PATCH] Emulation.Common - move some misc enums into Enums.cs --- BizHawk.Emulation.Common/Database/GameInfo.cs | 13 ---------- BizHawk.Emulation.Common/Enums.cs | 24 +++++++++++++++++++ .../Interfaces/IDebuggable.cs | 2 -- 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/BizHawk.Emulation.Common/Database/GameInfo.cs b/BizHawk.Emulation.Common/Database/GameInfo.cs index 8e953b1f95..04266c8f14 100644 --- a/BizHawk.Emulation.Common/Database/GameInfo.cs +++ b/BizHawk.Emulation.Common/Database/GameInfo.cs @@ -6,19 +6,6 @@ using BizHawk.Common; namespace BizHawk.Emulation.Common { - public enum RomStatus - { - GoodDump, - BadDump, - Homebrew, - TranslatedRom, - Hack, - Unknown, - BIOS, - Overdump, - NotInDatabase - } - public class GameInfo { public bool IsRomStatusBad() diff --git a/BizHawk.Emulation.Common/Enums.cs b/BizHawk.Emulation.Common/Enums.cs index c92ead6808..0fce749fd6 100644 --- a/BizHawk.Emulation.Common/Enums.cs +++ b/BizHawk.Emulation.Common/Enums.cs @@ -1,4 +1,28 @@ namespace BizHawk.Emulation.Common { + /// + /// DisplayType, used in IEmulator + /// public enum DisplayType { NTSC, PAL, DENDY } + + /// + /// The type/increment of stepping in the Step method of IDebuggable + /// + public enum StepType { Into, Out, Over } + + /// + /// In the game database, the status of the rom found in the database + /// + public enum RomStatus + { + GoodDump, + BadDump, + Homebrew, + TranslatedRom, + Hack, + Unknown, + BIOS, + Overdump, + NotInDatabase + } } diff --git a/BizHawk.Emulation.Common/Interfaces/IDebuggable.cs b/BizHawk.Emulation.Common/Interfaces/IDebuggable.cs index 81cb2d354e..02338f9c5d 100644 --- a/BizHawk.Emulation.Common/Interfaces/IDebuggable.cs +++ b/BizHawk.Emulation.Common/Interfaces/IDebuggable.cs @@ -28,6 +28,4 @@ namespace BizHawk.Emulation.Common void Step(StepType type); } - - public enum StepType { Into, Out, Over } }