From 3734eb205ae562155a01d3f17c0bd44ea68ed431 Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 23 Feb 2023 22:37:01 -0500 Subject: m68040: Reduce error logging spam for some unemulated instructions --- src/devices/cpu/m68000/m68k_in.lst | 5 ++--- src/devices/cpu/m68000/m68kops.cpp | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/devices/cpu/m68000/m68k_in.lst b/src/devices/cpu/m68000/m68k_in.lst index fd655b0a729..846172f61ff 100644 --- a/src/devices/cpu/m68000/m68k_in.lst +++ b/src/devices/cpu/m68000/m68k_in.lst @@ -6228,7 +6228,7 @@ f000 fe00 pmmu l . 234fc:8p f548 ffd8 ptest l . 4:8p if(m_has_pmmu) { - logerror("68040: unhandled PTEST\n"); + //logerror("68040: unhandled PTEST\n"); } else { @@ -8092,7 +8092,6 @@ f400 ff20 cinv l . 4:16 f420 ff20 cpush l . 4:16 - logerror("%s at %08x: called unimplemented instruction %04x (cpush)\n", - tag(), m_ppc, m_ir); + //logerror("%s at %08x: called unimplemented instruction %04x (cpush)\n", tag(), m_ppc, m_ir); diff --git a/src/devices/cpu/m68000/m68kops.cpp b/src/devices/cpu/m68000/m68kops.cpp index aa25f9cb88d..79eadced2bb 100644 --- a/src/devices/cpu/m68000/m68kops.cpp +++ b/src/devices/cpu/m68000/m68kops.cpp @@ -25436,7 +25436,7 @@ void m68000_musashi_device::xf548_ptest_l_4() { if(m_has_pmmu) { - logerror("68040: unhandled PTEST\n"); + //logerror("68040: unhandled PTEST\n"); } else { @@ -31185,8 +31185,7 @@ void m68000_musashi_device::xf400_cinv_l_4() } void m68000_musashi_device::xf420_cpush_l_4() { - logerror("%s at %08x: called unimplemented instruction %04x (cpush)\n", - tag(), m_ppc, m_ir); + //logerror("%s at %08x: called unimplemented instruction %04x (cpush)\n", tag(), m_ppc, m_ir); } -- cgit v1.2.3