1
1
Fork 0
forked from suyu/suyu

Merge pull request #1072 from lioncash/svc

kernel/svc: Log svcBreak parameters
This commit is contained in:
bunnei 2018-08-14 22:42:44 -04:00 committed by GitHub
commit 8f9c49f7ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}