diff options
Diffstat (limited to 'src/core/arm/arm_interface.cpp')
-rw-r--r-- | src/core/arm/arm_interface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp index c347e7ea7..1310f72bf 100644 --- a/src/core/arm/arm_interface.cpp +++ b/src/core/arm/arm_interface.cpp @@ -9,6 +9,7 @@ #include "core/arm/arm_interface.h" #include "core/arm/symbols.h" #include "core/core.h" +#include "core/debugger/debugger.h" #include "core/hle/kernel/k_process.h" #include "core/loader/loader.h" #include "core/memory.h" @@ -88,4 +89,8 @@ void ARM_Interface::LogBacktrace() const { } } +bool ARM_Interface::ShouldStep() const { + return system.DebuggerEnabled() && system.GetDebugger().IsStepping(); +} + } // namespace Core |