Browse Source

svc: Log parameters in SetMemoryAttribute()

Provides slightly more context than only logging out the address value.
nce_cpp
Lioncash 8 years ago
parent
commit
5bd30caa5c
  1. 4
      src/core/hle/kernel/svc.cpp

4
src/core/hle/kernel/svc.cpp

@ -40,7 +40,9 @@ static ResultCode SetHeapSize(VAddr* heap_addr, u64 heap_size) {
} }
static ResultCode SetMemoryAttribute(VAddr addr, u64 size, u32 state0, u32 state1) { static ResultCode SetMemoryAttribute(VAddr addr, u64 size, u32 state0, u32 state1) {
LOG_WARNING(Kernel_SVC, "(STUBBED) called, addr=0x{:X}", addr);
LOG_WARNING(Kernel_SVC,
"(STUBBED) called, addr=0x{:X}, size=0x{:X}, state0=0x{:X}, state1=0x{:X}", addr,
size, state0, state1);
return RESULT_SUCCESS; return RESULT_SUCCESS;
} }

Loading…
Cancel
Save