diff options
author | Liam <byteslice@airmail.cc> | 2023-03-07 02:34:25 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-13 03:06:53 +0100 |
commit | 097c25b164ba830b8d4a89926a3e90d297d06d8f (patch) | |
tree | 646caab83e97e60249ed102596a968be10acfec8 /src/core/hle/kernel/svc/svc_session.cpp | |
parent | kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style (diff) | |
download | yuzu-097c25b164ba830b8d4a89926a3e90d297d06d8f.tar yuzu-097c25b164ba830b8d4a89926a3e90d297d06d8f.tar.gz yuzu-097c25b164ba830b8d4a89926a3e90d297d06d8f.tar.bz2 yuzu-097c25b164ba830b8d4a89926a3e90d297d06d8f.tar.lz yuzu-097c25b164ba830b8d4a89926a3e90d297d06d8f.tar.xz yuzu-097c25b164ba830b8d4a89926a3e90d297d06d8f.tar.zst yuzu-097c25b164ba830b8d4a89926a3e90d297d06d8f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/svc/svc_session.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc/svc_session.cpp b/src/core/hle/kernel/svc/svc_session.cpp index 6dd242dcf..90d680540 100644 --- a/src/core/hle/kernel/svc/svc_session.cpp +++ b/src/core/hle/kernel/svc/svc_session.cpp @@ -12,7 +12,7 @@ namespace Kernel::Svc { namespace { template <typename T> -Result CreateSession(Core::System& system, Handle* out_server, Handle* out_client, u64 name) { +Result CreateSession(Core::System& system, Handle* out_server, Handle* out_client, uint64_t name) { auto& process = GetCurrentProcess(system.Kernel()); auto& handle_table = process.GetHandleTable(); @@ -59,7 +59,7 @@ Result CreateSession(Core::System& system, Handle* out_server, Handle* out_clien R_UNLESS(session != nullptr, ResultOutOfResource); // Initialize the session. - session->Initialize(nullptr, fmt::format("{}", name)); + session->Initialize(nullptr, name); // Commit the session reservation. session_reservation.Commit(); |