diff options
author | bunnei <bunneidev@gmail.com> | 2018-12-19 19:10:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 19:10:11 +0100 |
commit | 80d36634e1e96be54eea3b405d8fe9c88a9c09b1 (patch) | |
tree | d1e92b3a4f44a83a271ce679e5f2130deb8d2a53 /src | |
parent | Merge pull request #1907 from lioncash/attribute (diff) | |
parent | service/sm: Improve debug log for RegisterService (diff) | |
download | yuzu-80d36634e1e96be54eea3b405d8fe9c88a9c09b1.tar yuzu-80d36634e1e96be54eea3b405d8fe9c88a9c09b1.tar.gz yuzu-80d36634e1e96be54eea3b405d8fe9c88a9c09b1.tar.bz2 yuzu-80d36634e1e96be54eea3b405d8fe9c88a9c09b1.tar.lz yuzu-80d36634e1e96be54eea3b405d8fe9c88a9c09b1.tar.xz yuzu-80d36634e1e96be54eea3b405d8fe9c88a9c09b1.tar.zst yuzu-80d36634e1e96be54eea3b405d8fe9c88a9c09b1.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/sm/sm.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index d73530086..142929124 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -145,12 +145,13 @@ void SM::RegisterService(Kernel::HLERequestContext& ctx) { const std::string name(name_buf.begin(), end); - const auto unk_bool = static_cast<bool>(rp.PopRaw<u32>()); - const auto session_count = rp.PopRaw<u32>(); + const auto is_light = static_cast<bool>(rp.PopRaw<u32>()); + const auto max_session_count = rp.PopRaw<u32>(); - LOG_DEBUG(Service_SM, "called with unk_bool={}", unk_bool); + LOG_DEBUG(Service_SM, "called with name={}, max_session_count={}, is_light={}", name, + max_session_count, is_light); - auto handle = service_manager->RegisterService(name, session_count); + auto handle = service_manager->RegisterService(name, max_session_count); if (handle.Failed()) { LOG_ERROR(Service_SM, "failed to register service with error_code={:08X}", handle.Code().raw); |