diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2021-09-25 11:42:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 15:42:28 -0400 |
commit | 9ca2d514b76d255b65c97643bb38690dc6699a77 (patch) | |
tree | efdc712f8bd0d1a6e421521673e3cb89d335b22a /src/devices/bus | |
parent | 606b7a8d7c0387a296784b20fe249133dbb38f06 (diff) |
bus/nes: Fixed hardwired 4-screen mirroring for MMC3 games. (#8620)
- Fixes most graphics glitches in Rad Racer II and unlicensed Jurassic Boy 2, Rocman X carts.
Diffstat (limited to 'src/devices/bus')
-rw-r--r-- | src/devices/bus/nes/mmc3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/bus/nes/mmc3.cpp b/src/devices/bus/nes/mmc3.cpp index d6f7f37dc4a..dfc57f59b71 100644 --- a/src/devices/bus/nes/mmc3.cpp +++ b/src/devices/bus/nes/mmc3.cpp @@ -283,7 +283,8 @@ void nes_txrom_device::txrom_write(offs_t offset, uint8_t data) break; case 0x2000: - set_nt_mirroring(BIT(data, 0) ? PPU_MIRROR_HORZ : PPU_MIRROR_VERT); + if (m_mirroring != PPU_MIRROR_4SCREEN) + set_nt_mirroring(BIT(data, 0) ? PPU_MIRROR_HORZ : PPU_MIRROR_VERT); break; case 0x2001: |