early-access version 3539

This commit is contained in:
pineappleEA
2023-05-01 17:51:43 +02:00
parent 3f64a97d8a
commit 0a133dc6ea
48 changed files with 1328 additions and 1199 deletions

View File

@@ -64,6 +64,9 @@ Result ServiceManager::RegisterService(std::string name, u32 max_sessions,
auto* port = Kernel::KPort::Create(kernel);
port->Initialize(ServerSessionCountMax, false, 0);
// Register the port.
Kernel::KPort::Register(kernel, port);
service_ports.emplace(name, port);
registered_services.emplace(name, handler);
if (deferral_event) {