From a14687870674a0a6332196710701a7a2c3f128e6 Mon Sep 17 00:00:00 2001 From: npwoods Date: Thu, 3 Mar 2022 12:17:32 -0500 Subject: bus/nes/multigame.cpp: Fixed typo that turned assignment into an equality comparison. (#9361) Fixes dancing Pacman walls and corrupt Legend of Kage title screen. --- src/devices/bus/nes/multigame.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/devices/bus/nes/multigame.cpp b/src/devices/bus/nes/multigame.cpp index e060ce666c3..bf7cf7e8dfd 100644 --- a/src/devices/bus/nes/multigame.cpp +++ b/src/devices/bus/nes/multigame.cpp @@ -3281,11 +3281,6 @@ void nes_bmc_60311c_device::write_h(offs_t offset, u8 data) In MAME: Supported. - TODO: Investigate why Legend of Kage has a corrupt - title screen (inverting mirroring bit fixes it but - breaks the rest of the game). Also why are walls in - Pacman glitched? - -------------------------------------------------*/ u8 nes_bmc_ctc12in1_device::read_m(offs_t offset) @@ -3316,7 +3311,7 @@ void nes_bmc_ctc12in1_device::write_h(offs_t offset, u8 data) break; } - m_vram_protect == !BIT(m_reg[0], 7) || (offset & 0x6000) == 0x6000; + m_vram_protect = !BIT(m_reg[0], 7) || (offset & 0x6000) == 0x6000; set_nt_mirroring(BIT(m_reg[0], 5) ? PPU_MIRROR_HORZ : PPU_MIRROR_VERT); } -- cgit v1.2.3