summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/nes_ctrl/zapper.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-01-28 09:20:10 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-01-28 09:20:10 +0100
commit26e7a17b6326aa5a75a6276e52cf84a94c16d7a0 (patch)
treebab4468226c59d590688e0ece892f5bfbca58736 /src/emu/bus/nes_ctrl/zapper.c
parent13b862c4fae88f0f819c2c4416d49249e4de45b9 (diff)
Cleanups and version bumpmame0158
Diffstat (limited to 'src/emu/bus/nes_ctrl/zapper.c')
-rw-r--r--src/emu/bus/nes_ctrl/zapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/bus/nes_ctrl/zapper.c b/src/emu/bus/nes_ctrl/zapper.c
index 36965206f46..b603025203b 100644
--- a/src/emu/bus/nes_ctrl/zapper.c
+++ b/src/emu/bus/nes_ctrl/zapper.c
@@ -80,7 +80,7 @@ void nes_zapper_device::device_reset()
UINT8 nes_zapper_device::read_bit34()
{
UINT8 ret = m_trigger->read();
- if (!m_port->m_brightpixel_cb.isnull() &&
+ if (!m_port->m_brightpixel_cb.isnull() &&
m_port->m_brightpixel_cb(m_lightx->read(), m_lighty->read()))
ret &= ~0x08; // sprite hit
else
@@ -91,7 +91,7 @@ UINT8 nes_zapper_device::read_bit34()
UINT8 nes_zapper_device::read_exp(offs_t offset)
{
UINT8 ret = 0;
- if (offset == 1) // $4017
+ if (offset == 1) // $4017
ret |= nes_zapper_device::read_bit34();
return ret;
}