summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-07 16:02:48 +0100
committerbunnei <bunneidev@gmail.com>2018-01-07 23:12:01 +0100
commit166286e9769f6d7ee542c1cf672443d994d09580 (patch)
tree68319623e544627ae0727e2cd5c3627b75b3d49c /src
parentIPC: Take the number of domain objects as a parameter in MakeBuilder. (diff)
downloadyuzu-166286e9769f6d7ee542c1cf672443d994d09580.tar
yuzu-166286e9769f6d7ee542c1cf672443d994d09580.tar.gz
yuzu-166286e9769f6d7ee542c1cf672443d994d09580.tar.bz2
yuzu-166286e9769f6d7ee542c1cf672443d994d09580.tar.lz
yuzu-166286e9769f6d7ee542c1cf672443d994d09580.tar.xz
yuzu-166286e9769f6d7ee542c1cf672443d994d09580.tar.zst
yuzu-166286e9769f6d7ee542c1cf672443d994d09580.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/applet_oe.cpp33
1 files changed, 21 insertions, 12 deletions
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp
index 34cc67f34..2784b8cfc 100644
--- a/src/core/hle/service/am/applet_oe.cpp
+++ b/src/core/hle/service/am/applet_oe.cpp
@@ -23,14 +23,14 @@ public:
private:
void GetAppletResourceUserId(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called");
- IPC::RequestBuilder rb{ctx, 3};
+ IPC::RequestBuilder rb{ctx, 4};
rb.Push(RESULT_SUCCESS);
rb.Push<u64>(0);
}
void AcquireForegroundRights(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called");
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
};
@@ -79,7 +79,7 @@ private:
}
void ReceiveMessage(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 2};
+ IPC::RequestBuilder rb{ctx, 4};
rb.Push(RESULT_SUCCESS);
rb.Skip(1, true);
rb.Push<u32>(1);
@@ -118,48 +118,57 @@ public:
private:
void GetAudioController(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IAudioController>();
}
void GetDisplayController(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IDisplayController>();
}
void GetDebugFunctions(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IDebugFunctions>();
}
void GetWindowController(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IWindowController>();
}
void GetSelfController(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<ISelfController>();
}
void GetCommonStateGetter(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<ICommonStateGetter>();
}
void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<ILibraryAppletCreator>();
}
void GetApplicationFunctions(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IApplicationFunctions>();
}
};
void AppletOE::OpenApplicationProxy(Kernel::HLERequestContext& ctx) {
- IPC::RequestBuilder rb{ctx, 1};
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IApplicationProxy>();
}