ack! whoops!

This commit is contained in:
adelikat 2013-10-27 16:23:48 +00:00
parent 61eb5df4e6
commit e265e00ca1
1 changed files with 1 additions and 7 deletions

View File

@ -212,13 +212,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//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&4)!=0) ram[i] = 0xFF; else ram[i] = 0x00;
Random r = new Random();
for (int i = 0; i < 0x800; i++)
{
ram[i] = (byte)(r.Next(0, 256));
}
for(int i=0;i<0x800;i++) if((i&4)!=0) ram[i] = 0xFF; else ram[i] = 0x00;
SetupMemoryDomains();