mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-25 17:47:52 -05:00
IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.
Popping objects from the buffer is still not implemented.
This commit is contained in:
@ -73,7 +73,7 @@ private:
|
||||
|
||||
IPC::RequestBuilder rb{ctx, 2, 1};
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
rb.PushObjects(event);
|
||||
rb.PushCopyObjects(event);
|
||||
|
||||
LOG_WARNING(Service, "(STUBBED) called");
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ void LM::Initialize(Kernel::HLERequestContext& ctx) {
|
||||
(*session)->GetObjectId());
|
||||
IPC::RequestBuilder rb{ctx, 1, 0, 1};
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
rb.PushObjects(std::move(session).Unwrap());
|
||||
rb.PushMoveObjects(std::move(session).Unwrap());
|
||||
registered_loggers.emplace_back(std::move(client_port));
|
||||
} else {
|
||||
UNIMPLEMENTED();
|
||||
|
@ -24,7 +24,7 @@ void Controller::ConvertSessionToDomain(Kernel::HLERequestContext& ctx) {
|
||||
void Controller::DuplicateSession(Kernel::HLERequestContext& ctx) {
|
||||
IPC::RequestBuilder rb{ctx, 1, 0, 1};
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
rb.PushObjects(ctx.ServerSession());
|
||||
rb.PushMoveObjects(ctx.ServerSession());
|
||||
|
||||
LOG_DEBUG(Service, "called");
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ void SM::GetService(Kernel::HLERequestContext& ctx) {
|
||||
(*session)->GetObjectId());
|
||||
IPC::RequestBuilder rb = rp.MakeBuilder(2, 0, 1);
|
||||
rb.Push<u64>(0);
|
||||
rb.PushObjects(std::move(session).Unwrap());
|
||||
rb.PushMoveObjects(std::move(session).Unwrap());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user