nes-initial values for mmc3 registers.. not clear on whether theyre real or not, but folks seem to be depending on them, and fceux does it

This commit is contained in:
zeromus 2013-02-11 09:09:37 +00:00
parent 501c68bb9f
commit e88fb73706
1 changed files with 10 additions and 0 deletions

View File

@ -69,6 +69,16 @@ namespace BizHawk.Emulation.Consoles.Nintendo
else if (board.Cart.chips.Contains("MMC3C")) MMC3Type = EMMC3Type.MMC3C;
else MMC3Type = EMMC3Type.MMC3C; //arbitrary choice. is it the best choice?
//initial values seem necessary
regs[0] = 0;
regs[1] = 2;
regs[2] = 4;
regs[3] = 5;
regs[4] = 6;
regs[5] = 7;
regs[6] = 0;
regs[7] = 1;
Sync();
}