summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sm/sm.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-18 05:04:35 +0100
committerLioncash <mathew1800@gmail.com>2018-12-19 00:22:22 +0100
commit2a533f006706836f3229a6375be0bc398277c8c8 (patch)
tree18a77a6bd2984592b7da78d2cb37593c01d4950b /src/core/hle/service/sm/sm.cpp
parentMerge pull request #1905 from bunnei/ignore-empty-gpu-lists (diff)
downloadyuzu-2a533f006706836f3229a6375be0bc398277c8c8.tar
yuzu-2a533f006706836f3229a6375be0bc398277c8c8.tar.gz
yuzu-2a533f006706836f3229a6375be0bc398277c8c8.tar.bz2
yuzu-2a533f006706836f3229a6375be0bc398277c8c8.tar.lz
yuzu-2a533f006706836f3229a6375be0bc398277c8c8.tar.xz
yuzu-2a533f006706836f3229a6375be0bc398277c8c8.tar.zst
yuzu-2a533f006706836f3229a6375be0bc398277c8c8.zip
Diffstat (limited to 'src/core/hle/service/sm/sm.cpp')
-rw-r--r--src/core/hle/service/sm/sm.cpp9
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);