aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/caps/caps_su.cpp
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-10-10 11:47:13 +0200
committerGitHub <noreply@github.com>2023-10-10 11:47:13 +0200
commit8151a4d30121bb75500c94c1e70d665ba63146c8 (patch)
tree8478fc8d71394061bb204049a0564cd1257bd1f7 /src/core/hle/service/caps/caps_su.cpp
parent8ac8d703b9af7ebe858cb8957d42eb42c5ffdf75 (diff)
parent8347e5cdb9377eb10dfd3b17aeb45290625687a1 (diff)
Merge pull request #11650 from german77/lle_album
service: am: Add support for LLE Album Applet
Diffstat (limited to 'src/core/hle/service/caps/caps_su.cpp')
-rw-r--r--src/core/hle/service/caps/caps_su.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/caps/caps_su.cpp b/src/core/hle/service/caps/caps_su.cpp
index 3b11cc95c..cad173dc7 100644
--- a/src/core/hle/service/caps/caps_su.cpp
+++ b/src/core/hle/service/caps/caps_su.cpp
@@ -7,10 +7,11 @@
namespace Service::Capture {
-CAPS_SU::CAPS_SU(Core::System& system_) : ServiceFramework{system_, "caps:su"} {
+IScreenShotApplicationService::IScreenShotApplicationService(Core::System& system_)
+ : ServiceFramework{system_, "caps:su"} {
// clang-format off
static const FunctionInfo functions[] = {
- {32, &CAPS_SU::SetShimLibraryVersion, "SetShimLibraryVersion"},
+ {32, &IScreenShotApplicationService::SetShimLibraryVersion, "SetShimLibraryVersion"},
{201, nullptr, "SaveScreenShot"},
{203, nullptr, "SaveScreenShotEx0"},
{205, nullptr, "SaveScreenShotEx1"},
@@ -21,9 +22,9 @@ CAPS_SU::CAPS_SU(Core::System& system_) : ServiceFramework{system_, "caps:su"} {
RegisterHandlers(functions);
}
-CAPS_SU::~CAPS_SU() = default;
+IScreenShotApplicationService::~IScreenShotApplicationService() = default;
-void CAPS_SU::SetShimLibraryVersion(HLERequestContext& ctx) {
+void IScreenShotApplicationService::SetShimLibraryVersion(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto library_version{rp.Pop<u64>()};
const auto applet_resource_user_id{rp.Pop<u64>()};