summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-09-30 07:11:51 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-09-30 07:19:46 -0400
commit9a251339dc5073fd579a319e618e263f3c030081 (patch)
tree4b1ed68e9657efdf83f7ba580546d940bece83ee /src
parent1ba0b077fc226382fcf581a5b02f655e365e5f27 (diff)
caps_su: Properly stub SetShimLibraryVersion
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/caps/caps_su.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/service/caps/caps_su.cpp b/src/core/hle/service/caps/caps_su.cpp
index fffb2ecf9..e386470f7 100644
--- a/src/core/hle/service/caps/caps_su.cpp
+++ b/src/core/hle/service/caps/caps_su.cpp
@@ -25,7 +25,12 @@ CAPS_SU::CAPS_SU() : ServiceFramework("caps:su") {
CAPS_SU::~CAPS_SU() = default;
void CAPS_SU::SetShimLibraryVersion(Kernel::HLERequestContext& ctx) {
- LOG_WARNING(Service_Capture, "(STUBBED) called");
+ IPC::RequestParser rp{ctx};
+ const auto library_version{rp.Pop<u64>()};
+ const auto applet_resource_user_id{rp.Pop<u64>()};
+
+ LOG_WARNING(Service_Capture, "(STUBBED) called. library_version={}, applet_resource_user_id={}",
+ library_version, applet_resource_user_id);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);