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 | |
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_port.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/kernel/svc/svc_session.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/svc/svc_port.cpp b/src/core/hle/kernel/svc/svc_port.cpp index 78c2a8d17..0b5556bc4 100644 --- a/src/core/hle/kernel/svc/svc_port.cpp +++ b/src/core/hle/kernel/svc/svc_port.cpp @@ -81,7 +81,7 @@ Result ManageNamedPort(Core::System& system, Handle* out_server_handle, uint64_t R_UNLESS(port != nullptr, ResultOutOfResource); // Initialize the new port. - port->Initialize(max_sessions, false, ""); + port->Initialize(max_sessions, false, 0); // Register the port. KPort::Register(system.Kernel(), port); 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(); |