mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +03:00
(MESS) fixed a few errors caught by VS. nw.
This commit is contained in:
parent
841cca521b
commit
b24bcf9163
@ -1101,7 +1101,7 @@ WRITE8_MEMBER(nes_smb2jb_device::write_l)
|
||||
LOG_MMC(("smb2jb write_l, offset: %04x, data: %02x\n", offset, data));
|
||||
offset += 0x100;
|
||||
|
||||
switch (offset & 0x160)
|
||||
switch (offset & 0x1e0)
|
||||
{
|
||||
case 0x020:
|
||||
case 0x0a0:
|
||||
|
@ -167,7 +167,7 @@ void nes_jy_typea_device::irq_clock(int mode, int blanked)
|
||||
return;
|
||||
|
||||
// no counter changes if both Up/Down are set or clear
|
||||
if ((m_irq_down && m_irq_up) || (!m_irq_down && !m_irq_down))
|
||||
if ((m_irq_down && m_irq_up) || (!m_irq_down && !m_irq_up))
|
||||
return;
|
||||
|
||||
// update prescaler
|
||||
|
@ -1324,7 +1324,7 @@ WRITE8_MEMBER(nes_cityfight_device::write_h)
|
||||
case 0x4000:
|
||||
case 0x4004:
|
||||
case 0x4008:
|
||||
case 0x4003c:
|
||||
case 0x400c:
|
||||
m_prg_mode = data & 1;
|
||||
|
||||
case 0x7000:
|
||||
|
Loading…
Reference in New Issue
Block a user