Minor style cleanups
This commit is contained in:
parent
01e3a6cf43
commit
e71f5b32f0
|
@ -27,7 +27,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
|||
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
||||
: base(comm, "PCE", "PC Engine Controller", settings, syncSettings)
|
||||
{
|
||||
var firmwares = new Dictionary<string, ValueTuple<string, string>>
|
||||
var firmwares = new Dictionary<string, (string, string)>
|
||||
{
|
||||
{ "FIRMWARE:syscard3.pce", ("PCECD", "Bios") },
|
||||
// { "FIRMWARE:gecard.pce", ("PCECD", "GE-Bios") },
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
|||
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
||||
: base(comm, "PCE", "PC Engine Controller", settings, syncSettings)
|
||||
{
|
||||
var firmwares = new Dictionary<string, ValueTuple<string, string>>
|
||||
var firmwares = new Dictionary<string, (string, string)>
|
||||
{
|
||||
{ "FIRMWARE:syscard3.pce", ("PCECD", "Bios") },
|
||||
{ "FIRMWARE:gecard.pce", ("PCECD", "GE-Bios") },
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCFX
|
|||
IEnumerable<Disc> disks, NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
||||
: base(comm, "PCFX", "PCFX Controller Deck", settings, syncSettings)
|
||||
{
|
||||
var firmwares = new Dictionary<string, ValueTuple<string, string>>
|
||||
var firmwares = new Dictionary<string, (string, string)>
|
||||
{
|
||||
{ "FIRMWARE:pcfx.rom", ("PCFX", "BIOS") },
|
||||
};
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
public static void Initialize(string basePath)
|
||||
{
|
||||
if (acquire != null) throw new InvalidOperationException("Bootgod DB multiply initialized");
|
||||
acquire = new EventWaitHandle(false, EventResetMode.ManualReset); ;
|
||||
acquire = new EventWaitHandle(false, EventResetMode.ManualReset);
|
||||
|
||||
var stopwatch = Stopwatch.StartNew();
|
||||
ThreadPool.QueueUserWorkItem(_ =>
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.Saturn
|
|||
IEnumerable<Disc> disks, NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
||||
: base(comm, "SAT", "Saturn Controller Deck", settings, syncSettings)
|
||||
{
|
||||
var firmwares = new Dictionary<string, ValueTuple<string, string>>
|
||||
var firmwares = new Dictionary<string, (string, string)>
|
||||
{
|
||||
{ "FIRMWARE:$J", ("SAT", "J") },
|
||||
{ "FIRMWARE:$U", ("SAT", "U") },
|
||||
|
|
|
@ -14,7 +14,7 @@ using NymaTypes;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Waterbox
|
||||
{
|
||||
public unsafe abstract partial class NymaCore : WaterboxCore
|
||||
public abstract unsafe partial class NymaCore : WaterboxCore
|
||||
{
|
||||
protected NymaCore(CoreComm comm,
|
||||
string systemId, string controllerDeckName,
|
||||
|
@ -29,7 +29,7 @@ namespace BizHawk.Emulation.Cores.Waterbox
|
|||
|
||||
private LibNymaCore _nyma;
|
||||
protected T DoInit<T>(GameInfo game, byte[] rom, Disc[] discs, string wbxFilename, string extension, bool deterministic,
|
||||
IDictionary<string, ValueTuple<string, string>> firmwares = null)
|
||||
IDictionary<string, (string SystemID, string FirmwareID)> firmwares = null)
|
||||
where T : LibNymaCore
|
||||
{
|
||||
var t = PreInit<T>(new WaterboxOptions
|
||||
|
@ -63,7 +63,7 @@ namespace BizHawk.Emulation.Cores.Waterbox
|
|||
{
|
||||
if (firmwares.TryGetValue(s, out var tt))
|
||||
{
|
||||
var data = CoreComm.CoreFileProvider.GetFirmware(tt.Item1, tt.Item2, false,
|
||||
var data = CoreComm.CoreFileProvider.GetFirmware(tt.SystemID, tt.FirmwareID, false,
|
||||
"Firmware files are usually required and may stop your game from loading");
|
||||
if (data != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue