summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/diexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/diexec.h')
-rw-r--r--src/emu/diexec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/diexec.h b/src/emu/diexec.h
index e44c75778d4..524e0feeb06 100644
--- a/src/emu/diexec.h
+++ b/src/emu/diexec.h
@@ -275,6 +275,12 @@ protected:
device().debug()->exception_hook(exception);
}
+ void debugger_privilege_hook()
+ {
+ if (device().machine().debug_flags & DEBUG_FLAG_ENABLED)
+ device().debug()->privilege_hook();
+ }
+
private:
// internal information about the state of inputs
class device_input