NESHawk give Jump II initial SRAM of 0xFF
This commit is contained in:
parent
24a5544730
commit
edfa040b46
|
@ -356,6 +356,7 @@ sha1:EEB560ADE82C5C322CD515176E9E9B6F4847B0A6 Saint Seiya Ougon Densetsu NES b
|
|||
sha1:4180276C50DF9958DEDD6C6D19C9E7AEBB75A89F o Galaxian (Japan) NES board=NAMCOT-3301;PRG=16;CHR=8;WRAM=8;VRAM=0;PAD_V=1;PAD_H=0
|
||||
sha1:0FE9120FD5ADC2790B0B9E8FADD136F9C66A709F Galaxian (Japan) (Rev A) NES board=NAMCOT-3301;PRG=8;CHR=8;WRAM=8;VRAM=0;PAD_V=1;PAD_H=0
|
||||
sha1:83D8B6A283AFE9E4497A93EC205165B33BF6E870 Karnov (J) NES board=NAMCOT-3406
|
||||
sha1:1D7417D31E19B590AFCEB6A8A6E7B9CAB9F9B475 Famicom Jump II: Saikyou no 7 Nin NES board=BANDAI-JUMP2
|
||||
|
||||
; ArcadePit hacks
|
||||
; Why does this one need NesHawk?
|
||||
|
|
|
@ -26,6 +26,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
public const string SeicrossRev2 = "sha1:4C9C05FAD6F6F33A92A27C2EDC1E7DE12D7F216D"; // yes this is meant to include the prefix
|
||||
|
||||
public const string SilvaSaga = /*sha1:*/"00C50062A2DECE99580063777590F26A253AAB6B";
|
||||
|
||||
public const string Fam_Jump_II = /*sha1:*/"1D7417D31E19B590AFCEB6A8A6E7B9CAB9F9B475";
|
||||
}
|
||||
|
||||
//hardware/state
|
||||
|
@ -256,8 +258,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
// some boards cannot have specific values in RAM upon initialization
|
||||
// Let's hard code those cases here
|
||||
// these will be defined through the gameDB exclusively for now.
|
||||
|
||||
if (cart.GameInfo!=null)
|
||||
if (cart.GameInfo != null)
|
||||
{
|
||||
if (cart.GameInfo.Hash is RomChecksums.CamericaGolden5 or RomChecksums.CamericaGolden5Overdump or RomChecksums.CamericaPegasus4in1)
|
||||
{
|
||||
|
@ -268,7 +269,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
ram[0xEC] = 0;
|
||||
ram[0xED] = 0;
|
||||
}
|
||||
else if (cart.GameInfo.Hash == RomChecksums.SilvaSaga)
|
||||
else if (cart.GameInfo.Hash == RomChecksums.SilvaSaga || cart.GameInfo.Hash == RomChecksums.Fam_Jump_II)
|
||||
{
|
||||
for (int i = 0; i < Board.Wram.Length; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue