summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh_mtu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh/sh_mtu.cpp')
-rw-r--r--src/devices/cpu/sh/sh_mtu.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/devices/cpu/sh/sh_mtu.cpp b/src/devices/cpu/sh/sh_mtu.cpp
index afb453f3e94..2b612bd12b4 100644
--- a/src/devices/cpu/sh/sh_mtu.cpp
+++ b/src/devices/cpu/sh/sh_mtu.cpp
@@ -317,13 +317,14 @@ u8 sh_mtu_channel_device::tier_r()
void sh_mtu_channel_device::tier_w(u8 data)
{
m_tier = data;
- logerror("irq %c%c%c%c%c%c\n",
- m_tier & IRQ_A ? 'a' : '.',
- m_tier & IRQ_B ? 'b' : '.',
- m_tier & IRQ_C ? 'c' : '.',
- m_tier & IRQ_D ? 'd' : '.',
- m_tier & IRQ_V ? 'v' : '.',
- m_tier & IRQ_U ? 'u' : '.');
+ if(0)
+ logerror("irq %c%c%c%c%c%c\n",
+ m_tier & IRQ_A ? 'a' : '.',
+ m_tier & IRQ_B ? 'b' : '.',
+ m_tier & IRQ_C ? 'c' : '.',
+ m_tier & IRQ_D ? 'd' : '.',
+ m_tier & IRQ_V ? 'v' : '.',
+ m_tier & IRQ_U ? 'u' : '.');
recalc_event();
}
@@ -343,7 +344,7 @@ u16 sh_mtu_channel_device::tcnt_r()
{
if(!machine().side_effects_disabled())
update_counter();
- // Nedd to implement phase counting for the rotary controller on the psr540
+ // Need to implement phase counting for the rotary controller on the psr540
if(m_tmdr & 0xf)
return 0;
return m_tcnt;