summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-14 22:42:44 -0400
committerGitHub <noreply@github.com>2018-08-14 22:42:44 -0400
commit8f9c49f7ee01afac1bc2f9753578732e73211244 (patch)
treecd5250215c459dd44dc263de8ad8cf95bc036f5f /src
parentf009ed63f3d99a3e3acaa9644bababd53d6af3a7 (diff)
parent25d71454d130bd5356030a54b9d62c58f05bdf47 (diff)
Merge pull request #1072 from lioncash/svc
kernel/svc: Log svcBreak parameters
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/svc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index b24f409b3..6be5c474e 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -250,8 +250,11 @@ static ResultCode ArbitrateUnlock(VAddr mutex_addr) {
}
/// Break program execution
-static void Break(u64 unk_0, u64 unk_1, u64 unk_2) {
- LOG_CRITICAL(Debug_Emulated, "Emulated program broke execution!");
+static void Break(u64 reason, u64 info1, u64 info2) {
+ LOG_CRITICAL(
+ Debug_Emulated,
+ "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",
+ reason, info1, info2);
ASSERT(false);
}