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:
parent
b0ceb4df70
commit
0368324f79
8 changed files with 116 additions and 403 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue