mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
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.
This commit is contained in:
parent
4a40a60235
commit
a146878706
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user