summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/nb1412m2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/nb1412m2.cpp')
-rw-r--r--src/mame/machine/nb1412m2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/nb1412m2.cpp b/src/mame/machine/nb1412m2.cpp
index 362f80eb959..75d396e2c16 100644
--- a/src/mame/machine/nb1412m2.cpp
+++ b/src/mame/machine/nb1412m2.cpp
@@ -281,7 +281,7 @@ uint8_t nb1412m2_device::rom_decrypt_r()
// Mighty Guy specifics
uint8_t nb1412m2_device::timer_r()
{
- return m_timer_reg == true;
+ return (m_timer_reg) ? 1 : 0;
}
void nb1412m2_device::timer_w(uint8_t data)
@@ -319,7 +319,7 @@ void nb1412m2_device::dac_control_w(uint8_t data)
{
if (data == 0)
{
- // Mighty Guy is uses this to stop psycho gun sound.
+ // Mighty Guy uses this to stop psycho gun sound.
m_dac_playback = false;
}
}