(MESS) fixed a few errors caught by VS. nw.

This commit is contained in:
Fabio Priuli 2014-04-03 20:47:56 +00:00
parent 841cca521b
commit b24bcf9163
3 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

@ -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: