From 501c68bb9f1bbf8f538a56232711597cf852c518 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 11 Feb 2013 09:08:54 +0000 Subject: [PATCH] nes-make memoryRand track fceux latest --- BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs index 3fc7994fb8..92006a6152 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs @@ -220,9 +220,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo BoardSystemHardReset(); - //check fceux's PowerNES function for more information: + //check fceux's PowerNES and FCEU_MemoryRand function for more information: //relevant games: Cybernoid; Minna no Taabou no Nakayoshi Daisakusen; Huang Di; and maybe mechanized attack - for(int i=0;i<0x800;i++) if((i&1)!=0) ram[i] = 0xAA; else ram[i] = 0x55; + for(int i=0;i<0x800;i++) if((i&4)!=0) ram[i] = 0xFF; else ram[i] = 0x00; SetupMemoryDomains();