Emulation.Common - cleanup Enums.cs
This commit is contained in:
parent
ad18694c3d
commit
57b63aaed4
|
@ -81,7 +81,7 @@ namespace BizHawk.Emulation.Common
|
|||
case RomStatus.Overdump:
|
||||
sb.Append("O");
|
||||
break;
|
||||
case RomStatus.BIOS:
|
||||
case RomStatus.Bios:
|
||||
sb.Append("I");
|
||||
break;
|
||||
case RomStatus.Homebrew:
|
||||
|
@ -155,7 +155,7 @@ namespace BizHawk.Emulation.Common
|
|||
game.Status = RomStatus.Overdump;
|
||||
break;
|
||||
case "I":
|
||||
game.Status = RomStatus.BIOS;
|
||||
game.Status = RomStatus.Bios;
|
||||
break;
|
||||
case "D":
|
||||
game.Status = RomStatus.Homebrew;
|
||||
|
|
|
@ -3,12 +3,22 @@
|
|||
/// <summary>
|
||||
/// DisplayType, used in IEmulator
|
||||
/// </summary>
|
||||
public enum DisplayType { NTSC, PAL, DENDY }
|
||||
public enum DisplayType
|
||||
{
|
||||
NTSC,
|
||||
PAL,
|
||||
Dendy
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The type/increment of stepping in the Step method of IDebuggable
|
||||
/// The type/increment of stepping in the Step method of <seealso cref="IDebuggable"/>
|
||||
/// </summary>
|
||||
public enum StepType { Into, Out, Over }
|
||||
public enum StepType
|
||||
{
|
||||
Into,
|
||||
Out,
|
||||
Over
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// In the game database, the status of the rom found in the database
|
||||
|
@ -21,7 +31,7 @@
|
|||
TranslatedRom,
|
||||
Hack,
|
||||
Unknown,
|
||||
BIOS,
|
||||
Bios,
|
||||
Overdump,
|
||||
NotInDatabase
|
||||
}
|
||||
|
|
|
@ -226,14 +226,14 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
cpu_sequence = cpu_sequence_NTSC;
|
||||
break;
|
||||
// this is in bootgod, but not used at all
|
||||
case Common.DisplayType.DENDY:
|
||||
case Common.DisplayType.Dendy:
|
||||
apu = new APU(this, apu, false);
|
||||
ppu.region = PPU.Region.Dendy;
|
||||
CoreComm.VsyncNum = 50;
|
||||
CoreComm.VsyncDen = 1;
|
||||
cpuclockrate = 1773448;
|
||||
cpu_sequence = cpu_sequence_NTSC;
|
||||
_display_type = DisplayType.DENDY;
|
||||
_display_type = DisplayType.Dendy;
|
||||
break;
|
||||
default:
|
||||
throw new Exception("Unknown displaytype!");
|
||||
|
|
|
@ -764,7 +764,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
switch (fromrom)
|
||||
{
|
||||
case NESSyncSettings.Region.Dendy:
|
||||
_display_type = Common.DisplayType.DENDY;
|
||||
_display_type = Common.DisplayType.Dendy;
|
||||
break;
|
||||
case NESSyncSettings.Region.NTSC:
|
||||
_display_type = Common.DisplayType.NTSC;
|
||||
|
|
|
@ -42,8 +42,10 @@
|
|||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=MGBA/@EntryIndexedValue">MGBA</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=NES/@EntryIndexedValue">NES</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=NMI/@EntryIndexedValue">NMI</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=NTSC/@EntryIndexedValue">NTSC</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=OBJ/@EntryIndexedValue">OBJ</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=OR/@EntryIndexedValue">OR</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=PAL/@EntryIndexedValue">PAL</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=PC/@EntryIndexedValue">PC</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=PCECD/@EntryIndexedValue">PCECD</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=PSP/@EntryIndexedValue">PSP</s:String>
|
||||
|
|
Loading…
Reference in New Issue