Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

SVC: Add debug log to ArbitrateAddress.

bunneif985469901f4
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 48c8dee1ee..43a3cbe036 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -189,6 +189,8 @@ static Result CreateAddressArbiter(u32* arbiter) {
/// Arbitrate address
static Result ArbitrateAddress(Handle arbiter, u32 address, u32 type, u32 value, s64 nanoseconds) {
+ DEBUG_LOG(SVC, "called handle=0x%08X, address=0x%08X, type=0x%08X, value=0x%08X", arbiter,
+ address, type, value);
return Kernel::ArbitrateAddress(arbiter, static_cast<Kernel::ArbitrationType>(type),
address, value).raw;
}