diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-10-04 04:05:02 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-10-08 04:57:20 +0200 |
commit | 8347e5cdb9377eb10dfd3b17aeb45290625687a1 (patch) | |
tree | c584d085b5363f520b8bebb2ff2eeade9ee62a0d /src/core/hle/service/caps/caps_su.cpp | |
parent | externals: stb: Split library into cpp file (diff) | |
download | yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.gz yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.bz2 yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.lz yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.xz yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.zst yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.zip |
Diffstat (limited to 'src/core/hle/service/caps/caps_su.cpp')
-rw-r--r-- | src/core/hle/service/caps/caps_su.cpp | 9 |
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>()}; |