summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-12 18:08:08 +0200
committerGitHub <noreply@github.com>2018-10-12 18:08:08 +0200
commit2946d4bdbe8d2432a0991e750adb9ef5a04cee09 (patch)
tree8d43f916215bb0e25c5cdd5061c5f1dbc1361673 /src/core/hle/kernel/svc.cpp
parentMerge pull request #1478 from ogniK5377/remap-invalidhandle-remap (diff)
parentChanged all casts in svc_wrap.h to be static_cast instead (diff)
downloadyuzu-2946d4bdbe8d2432a0991e750adb9ef5a04cee09.tar
yuzu-2946d4bdbe8d2432a0991e750adb9ef5a04cee09.tar.gz
yuzu-2946d4bdbe8d2432a0991e750adb9ef5a04cee09.tar.bz2
yuzu-2946d4bdbe8d2432a0991e750adb9ef5a04cee09.tar.lz
yuzu-2946d4bdbe8d2432a0991e750adb9ef5a04cee09.tar.xz
yuzu-2946d4bdbe8d2432a0991e750adb9ef5a04cee09.tar.zst
yuzu-2946d4bdbe8d2432a0991e750adb9ef5a04cee09.zip
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 3e4dd61dc..863ecfa74 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -370,15 +370,15 @@ static ResultCode ArbitrateUnlock(VAddr mutex_addr) {
struct BreakReason {
union {
- u64 raw;
- BitField<31, 1, u64> dont_kill_application;
+ u32 raw;
+ BitField<31, 1, u32> signal_debugger;
};
};
/// Break program execution
-static void Break(u64 reason, u64 info1, u64 info2) {
+static void Break(u32 reason, u64 info1, u64 info2) {
BreakReason break_reason{reason};
- if (break_reason.dont_kill_application) {
+ if (break_reason.signal_debugger) {
LOG_ERROR(
Debug_Emulated,
"Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",