diff options
author | 2014-04-03 20:47:56 +0000 | |
---|---|---|
committer | 2014-04-03 20:47:56 +0000 | |
commit | b24bcf916378ae081137b9687cef58a39d41f122 (patch) | |
tree | 74fefff1bfab6ccc640a3523f7d33456c823059a | |
parent | 841cca521b65a42e07e0f0b9b8dc249f467810bb (diff) |
(MESS) fixed a few errors caught by VS. nw.
-rw-r--r-- | src/emu/bus/nes/bootleg.c | 2 | ||||
-rw-r--r-- | src/emu/bus/nes/jy.c | 2 | ||||
-rw-r--r-- | src/emu/bus/nes/pirate.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/bus/nes/bootleg.c b/src/emu/bus/nes/bootleg.c index 59fd259f18a..6d7756fb494 100644 --- a/src/emu/bus/nes/bootleg.c +++ b/src/emu/bus/nes/bootleg.c @@ -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: diff --git a/src/emu/bus/nes/jy.c b/src/emu/bus/nes/jy.c index bf2d29a3d36..1eedc36ac9b 100644 --- a/src/emu/bus/nes/jy.c +++ b/src/emu/bus/nes/jy.c @@ -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 diff --git a/src/emu/bus/nes/pirate.c b/src/emu/bus/nes/pirate.c index 643659e6c4d..d7c3ec9c667 100644 --- a/src/emu/bus/nes/pirate.c +++ b/src/emu/bus/nes/pirate.c @@ -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: |