mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
MMC1: Fixed MMC1 not working properly w/ random mapper init state option
This commit is contained in:
parent
0dccbf49c9
commit
e73abef7ee
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class MMC1 : public BaseMapper
|
|||
|
||||
virtual void InitMapper() override
|
||||
{
|
||||
_state.Reg8000 = GetPowerOnByte(0x0C); //On powerup: bits 2,3 of $8000 are set (this ensures the $8000 is bank 0, and $C000 is the last bank - needed for SEROM/SHROM/SH1ROM which do no support banking)
|
||||
_state.Reg8000 = GetPowerOnByte() | 0x0C; //On powerup: bits 2,3 of $8000 are set (this ensures the $8000 is bank 0, and $C000 is the last bank - needed for SEROM/SHROM/SH1ROM which do no support banking)
|
||||
_state.RegA000 = GetPowerOnByte();
|
||||
_state.RegC000 = GetPowerOnByte();
|
||||
_state.RegE000 = (_databaseInfo.Board.find("MMC1B") != string::npos ? 0x10 : 0x00); //WRAM Disable: enabled by default for MMC1B
|
||||
|
|
Loading…
Add table
Reference in a new issue