mirror of
https://github.com/NovaSquirrel/Mesen-X.git
synced 2024-06-13 01:38:01 -04:00
Unrom512: Support larger PRG sized roms
This commit is contained in:
parent
48c80c19be
commit
f4df3ba864
|
@ -115,8 +115,8 @@ protected:
|
|||
void WriteRegister(uint16_t addr, uint8_t value) override
|
||||
{
|
||||
if(!HasBattery() || addr >= 0xC000) {
|
||||
SelectPRGPage(0, value & 0x1F);
|
||||
_prgBank = value & 0x1F;
|
||||
SelectPRGPage(0, value);
|
||||
_prgBank = value;
|
||||
|
||||
SelectCHRPage(0, (value >> 5) & 0x03);
|
||||
|
||||
|
|
Loading…
Reference in a new issue