Mapper 46 complete.

This commit is contained in:
adelikat 2012-03-09 03:38:11 +00:00
parent f9e43cf3d7
commit 7d308da245
2 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,7 @@ Open bus and bus conflict emulation is not considered complete or thorough in an
034 Misc Complete
044 Multicart Complete
045 Multicart Junk
046 Multicart Junk
046 Multicart Complete
047 MMC3Multi Decent
048 MMC3Variant Decent
049 Multicart Complete

View File

@ -50,7 +50,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo
public override byte ReadPRG(int addr)
{
//TODO: High bits
return ROM[addr + ((prg_bank_32k_H << 1) + prg_bank_32k_L * 0x8000)];
int offset = (prg_bank_32k_H << 1) + prg_bank_32k_L;
return ROM[addr + (offset * 0x8000)];
}
public override bool Configure(NES.EDetectionOrigin origin)