finish renaming hyper/turbo wbx files
This commit is contained in:
parent
687704dc3c
commit
dfe027cf8f
|
@ -14,14 +14,14 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
||||||
[Core(CoreNames.HyperNyma, "Mednafen Team", true, true, "1.24.3", "https://mednafen.github.io/releases/", false, "PCE")]
|
[Core(CoreNames.HyperNyma, "Mednafen Team", true, true, "1.24.3", "https://mednafen.github.io/releases/", false, "PCE")]
|
||||||
public class HyperNyma : NymaCore, IRegionable, IPceGpuView
|
public class HyperNyma : NymaCore, IRegionable, IPceGpuView
|
||||||
{
|
{
|
||||||
private readonly LibHyperNyma _terboGrafix;
|
private readonly LibHyperNyma _hyperNyma;
|
||||||
|
|
||||||
[CoreConstructor(new[] { "PCE", "SGX" })]
|
[CoreConstructor(new[] { "PCE", "SGX" })]
|
||||||
public HyperNyma(GameInfo game, byte[] rom, CoreComm comm, string extension,
|
public HyperNyma(GameInfo game, byte[] rom, CoreComm comm, string extension,
|
||||||
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
||||||
: base(comm, "PCE", "PC Engine Controller", settings, syncSettings)
|
: base(comm, "PCE", "PC Engine Controller", settings, syncSettings)
|
||||||
{
|
{
|
||||||
_terboGrafix = DoInit<LibHyperNyma>(game, rom, null, "pce-fast.wbx", extension, deterministic);
|
_hyperNyma = DoInit<LibHyperNyma>(game, rom, null, "hyper.wbx", extension, deterministic);
|
||||||
}
|
}
|
||||||
public HyperNyma(GameInfo game, Disc[] discs, CoreComm comm,
|
public HyperNyma(GameInfo game, Disc[] discs, CoreComm comm,
|
||||||
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
||||||
|
@ -32,7 +32,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
||||||
{ "FIRMWARE:syscard3.pce", ("PCECD", "Bios") },
|
{ "FIRMWARE:syscard3.pce", ("PCECD", "Bios") },
|
||||||
// { "FIRMWARE:gecard.pce", ("PCECD", "GE-Bios") },
|
// { "FIRMWARE:gecard.pce", ("PCECD", "GE-Bios") },
|
||||||
};
|
};
|
||||||
_terboGrafix = DoInit<LibHyperNyma>(game, null, discs, "pce-fast.wbx", null, deterministic, firmwares);
|
_hyperNyma = DoInit<LibHyperNyma>(game, null, discs, "hyper.wbx", null, deterministic, firmwares);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string SystemId => IsSgx ? "SGX" : "PCE";
|
public override string SystemId => IsSgx ? "SGX" : "PCE";
|
||||||
|
@ -60,7 +60,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
||||||
{
|
{
|
||||||
var palScratch = new int[512];
|
var palScratch = new int[512];
|
||||||
var v = new PceGpuData();
|
var v = new PceGpuData();
|
||||||
_terboGrafix.GetVramInfo(v, vdc);
|
_hyperNyma.GetVramInfo(v, vdc);
|
||||||
fixed(int* p = palScratch)
|
fixed(int* p = palScratch)
|
||||||
{
|
{
|
||||||
for (var i = 0; i < 512; i++)
|
for (var i = 0; i < 512; i++)
|
||||||
|
|
|
@ -14,7 +14,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
||||||
[Core(CoreNames.TurboNyma, "Mednafen Team", true, true, "1.24.3", "https://mednafen.github.io/releases/", false, "PCE")]
|
[Core(CoreNames.TurboNyma, "Mednafen Team", true, true, "1.24.3", "https://mednafen.github.io/releases/", false, "PCE")]
|
||||||
public class TurboNyma : NymaCore, IRegionable, IPceGpuView
|
public class TurboNyma : NymaCore, IRegionable, IPceGpuView
|
||||||
{
|
{
|
||||||
private readonly LibTurboNyma _terboGrafix;
|
private readonly LibTurboNyma _turboNyma;
|
||||||
|
|
||||||
[CoreConstructor(new[] { "PCE", "SGX" })]
|
[CoreConstructor(new[] { "PCE", "SGX" })]
|
||||||
public TurboNyma(GameInfo game, byte[] rom, CoreComm comm, string extension,
|
public TurboNyma(GameInfo game, byte[] rom, CoreComm comm, string extension,
|
||||||
|
@ -23,7 +23,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
||||||
{
|
{
|
||||||
if (game["BRAM"])
|
if (game["BRAM"])
|
||||||
SettingOverrides["pce.disable_bram_hucard"].Default = "0";
|
SettingOverrides["pce.disable_bram_hucard"].Default = "0";
|
||||||
_terboGrafix = DoInit<LibTurboNyma>(game, rom, null, "pce.wbx", extension, deterministic);
|
_turboNyma = DoInit<LibTurboNyma>(game, rom, null, "turbo.wbx", extension, deterministic);
|
||||||
}
|
}
|
||||||
public TurboNyma(GameInfo game, Disc[] discs, CoreComm comm,
|
public TurboNyma(GameInfo game, Disc[] discs, CoreComm comm,
|
||||||
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
|
||||||
|
@ -34,7 +34,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
||||||
{ "FIRMWARE:syscard3.pce", ("PCECD", "Bios") },
|
{ "FIRMWARE:syscard3.pce", ("PCECD", "Bios") },
|
||||||
{ "FIRMWARE:gecard.pce", ("PCECD", "GE-Bios") },
|
{ "FIRMWARE:gecard.pce", ("PCECD", "GE-Bios") },
|
||||||
};
|
};
|
||||||
_terboGrafix = DoInit<LibTurboNyma>(game, null, discs, "pce.wbx", null, deterministic, firmwares);
|
_turboNyma = DoInit<LibTurboNyma>(game, null, discs, "turbo.wbx", null, deterministic, firmwares);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string SystemId => IsSgx ? "SGX" : "PCE";
|
public override string SystemId => IsSgx ? "SGX" : "PCE";
|
||||||
|
@ -91,7 +91,7 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
|
||||||
{
|
{
|
||||||
var palScratch = new int[512];
|
var palScratch = new int[512];
|
||||||
var v = new PceGpuData();
|
var v = new PceGpuData();
|
||||||
_terboGrafix.GetVramInfo(v, vdc);
|
_turboNyma.GetVramInfo(v, vdc);
|
||||||
fixed(int* p = palScratch)
|
fixed(int* p = palScratch)
|
||||||
{
|
{
|
||||||
for (var i = 0; i < 512; i++)
|
for (var i = 0; i < 512; i++)
|
||||||
|
|
Loading…
Reference in New Issue