mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-13 06:15:07 +01:00
[Core/MD] fixed SSF2 mapper size limit
This commit is contained in:
parent
c953707ef5
commit
31a15eaf7c
@ -933,7 +933,7 @@ static void mapper_512k_w(uint32 address, uint32 data)
|
||||
uint32 i;
|
||||
|
||||
/* 512K ROM paging */
|
||||
uint8 *src = cart.rom + (data << 19);
|
||||
uint8 *src = cart.rom + ((data << 19) & cart.mask);
|
||||
|
||||
/* cartridge area ($000000-$3FFFFF) is divided into 8 x 512K banks */
|
||||
address = (address << 2) & 0x38;
|
||||
|
Loading…
Reference in New Issue
Block a user