From 787397085ed966728c0a5d95f57e1bca9353109a Mon Sep 17 00:00:00 2001 From: wheremyfoodat Date: Thu, 15 Sep 2022 22:47:22 +0300 Subject: [PATCH] Print PC for unimplemented kernel calls --- src/core/kernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/kernel.cpp b/src/core/kernel.cpp index 3efa1f7c..465ae3f1 100644 --- a/src/core/kernel.cpp +++ b/src/core/kernel.cpp @@ -3,7 +3,7 @@ void Kernel::serviceSVC(u32 svc) { switch (svc) { case 0x21: createAddressArbiter(); break; - default: Helpers::panic("Unimplemented svc: %x", svc); break; + default: Helpers::panic("Unimplemented svc: %x @ %08X", svc, regs[15]); break; } }