diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 40e6c4897d..0f1077d9e3 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -98,9 +98,9 @@ public: PushRaw(data_payload_header); } - template - void PushIpcInterface() { - context->AddDomainObject(std::make_shared()); + template + void PushIpcInterface(Args&&... args) { + context->AddDomainObject(std::make_shared(std::forward(args)...)); } // Validate on destruction, as there shouldn't be any case where we don't want it