mapper 28 even better fix

This commit is contained in:
CaH4e3 2013-09-20 21:41:24 +00:00
parent 9af83bb79c
commit b72648aced
1 changed files with 2 additions and 3 deletions

View File

@ -129,8 +129,7 @@ static DECLFW(WriteEXP)
{
uint32 addr = A;
uint8 value = V;
if (addr >= 0x5000)
reg = value & 0x81;
reg = value & 0x81;
}
static DECLFW(WritePRG)
@ -175,7 +174,7 @@ static void M28Power(void)
prg_mask_16k = PRGsize[0] - 1;
//EXP
SetWriteHandler(0x4020,0x5FFF,WriteEXP);
SetWriteHandler(0x5000,0x5FFF,WriteEXP);
//PRG
SetWriteHandler(0x8000,0xFFFF,WritePRG);