summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh2comn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh/sh2comn.cpp')
-rw-r--r--src/devices/cpu/sh/sh2comn.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/cpu/sh/sh2comn.cpp b/src/devices/cpu/sh/sh2comn.cpp
index e9503099fc2..7a7829e9db9 100644
--- a/src/devices/cpu/sh/sh2comn.cpp
+++ b/src/devices/cpu/sh/sh2comn.cpp
@@ -729,6 +729,10 @@ WRITE32_MEMBER( sh2_device::vcrdiv_w )
sh2_recalc_irq();
}
+/*
+ * DIVU
+ */
+
READ32_MEMBER( sh2_device::dvcr_r )
{
return (m_divu_ovfie == true ? 2 : 0) | (m_divu_ovf == true ? 1 : 0);
@@ -744,15 +748,11 @@ WRITE32_MEMBER( sh2_device::dvcr_w )
{
m_divu_ovfie = bool(BIT(data, 1));
if (m_divu_ovfie == true)
- LOG("SH2: unemulated DIVU OVF interrupt enable\n");
+ logerror("SH2: unemulated DIVU OVF interrupt enable\n");
}
sh2_recalc_irq();
}
}
-
-/*
- * DMAC
- */
READ32_MEMBER( sh2_device::dvsr_r )
{