mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-13 06:15:07 +01:00
[Core/MD] fixed soft-reset in X-in-1 pirate games
This commit is contained in:
parent
3bed408176
commit
95bde804a6
@ -77,6 +77,7 @@ Genesis Plus GX 1.7.5 (xx/xx/xxxx) (Eke-Eke)
|
||||
* fixed ROM padding for Sonic & Knuckles
|
||||
* fixed SRAM detection for games where it is mapped to work RAM ("Feng Kuang Tao Hua Yuan" crash)
|
||||
* fixed 1.7.4 regression with games using SRAM bank-switching
|
||||
* fixed soft-reset in X-in-1 pirate games
|
||||
|
||||
[Core/MS]
|
||||
---------------
|
||||
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.8 MiB |
Binary file not shown.
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 4.0 MiB |
@ -1659,7 +1659,7 @@ static void mapper_realtec_w(uint32 address, uint32 data)
|
||||
{
|
||||
/* ROM access enable */
|
||||
/* when bit 0 is set, ROM A17/A16 pins are set according to above registers and ROM A15/A12 pins are connected to VA16-VA13 (forced to 1 on reset) */
|
||||
/* other bits habe no effect */
|
||||
/* other bits have no effect */
|
||||
if (data & 0x01)
|
||||
{
|
||||
/* once ROM access is enabled, ROM mapping can not be modified until next reset */
|
||||
@ -2030,6 +2030,10 @@ static void default_time_w(uint32 address, uint32 data)
|
||||
if (address < 0xa13060)
|
||||
{
|
||||
mapper_64k_multi_w(address);
|
||||
|
||||
/* cartridge ROM mapping is reinitialized on /VRES */
|
||||
cart.hw.bankshift = 1;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user