|
|
|
@ -63,7 +63,7 @@ void ServerSession::Acquire(Thread* thread) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ResultCode ServerSession::HandleDomainSyncRequest(Kernel::HLERequestContext& context) {
|
|
|
|
|
auto& domain_message_header = context.GetDomainMessageHeader();
|
|
|
|
|
auto* const domain_message_header = context.GetDomainMessageHeader();
|
|
|
|
|
if (domain_message_header) {
|
|
|
|
|
// Set domain handlers in HLE context, used for domain objects (IPC interfaces) as inputs
|
|
|
|
|
context.SetDomainRequestHandlers(domain_request_handlers);
|
|
|
|
@ -111,7 +111,7 @@ ResultCode ServerSession::HandleSyncRequest(SharedPtr<Thread> thread) {
|
|
|
|
|
|
|
|
|
|
ResultCode result = RESULT_SUCCESS;
|
|
|
|
|
// If the session has been converted to a domain, handle the domain request
|
|
|
|
|
if (IsDomain() && context.GetDomainMessageHeader()) {
|
|
|
|
|
if (IsDomain() && context.HasDomainMessageHeader()) {
|
|
|
|
|
result = HandleDomainSyncRequest(context);
|
|
|
|
|
// If there is no domain header, the regular session handler is used
|
|
|
|
|
} else if (hle_handler != nullptr) {
|
|
|
|
|