summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mips/r4000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mips/r4000.cpp')
-rw-r--r--src/devices/cpu/mips/r4000.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/devices/cpu/mips/r4000.cpp b/src/devices/cpu/mips/r4000.cpp
index 4a271082db1..47e2cd784a7 100644
--- a/src/devices/cpu/mips/r4000.cpp
+++ b/src/devices/cpu/mips/r4000.cpp
@@ -27,10 +27,13 @@
*/
#include "emu.h"
-#include "divtlb.h"
-#include "debug/debugcpu.h"
#include "r4000.h"
+
#include "mips3dsm.h"
+
+#include "divtlb.h"
+#include "debug/debugcpu.h"
+
#include "unicode.h"
#include "softfloat3/source/include/softfloat.h"
@@ -1107,7 +1110,7 @@ void r4000_base_device::cpu_exception(u32 exception, u16 const vector)
if (exception == EXCEPTION_INT)
{
- if (machine().debug_flags & DEBUG_FLAG_ENABLED)
+ if (debugger_enabled())
{
// notify the debugger of the first pending hardware interrupt
u32 const iphw = CAUSE & SR & CAUSE_IPHW;