[BS-X] Fix SA-1 map

This commit is contained in:
luigiblood 2016-11-23 21:47:02 +01:00
parent 1b6f6b6926
commit 17fa454a1e
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ static void S9xSetSA1MemMap (uint32 which1, uint8 map)
}
else
{
offset = ((((map & 0x80) ? map : which1) & 7) - 4) * 0x100000 + (c << 11) - 0x8000;
offset = (((map & 0x80) ? (map - 4) : which1) & 7) * 0x100000 + (c << 11) - 0x8000;
block = Memory.ROM + Multi.cartOffsetB + offset;
}
}