diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-03-31 19:16:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-31 19:16:36 -0400 |
| commit | 224a75d83958eda9c563fb4a9c656db285438f9d (patch) | |
| tree | a82c3c98f37e94e20865bc5351b19f0df4f9dbde /src/core/hle/service/caps/caps_su.cpp | |
| parent | b03c0536ce24ab261e1ed99f2bd180a1b7825f2f (diff) | |
capsrv: Split Capture services into individual files and stub GetAlbumContentsFileListForApplication (#3571)
* Organize capture services into individual files
* Stub GetAlbumContentsFileListForApplication
* Address feedback
Diffstat (limited to 'src/core/hle/service/caps/caps_su.cpp')
| -rw-r--r-- | src/core/hle/service/caps/caps_su.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/service/caps/caps_su.cpp b/src/core/hle/service/caps/caps_su.cpp new file mode 100644 index 000000000..2b4c2d808 --- /dev/null +++ b/src/core/hle/service/caps/caps_su.cpp @@ -0,0 +1,22 @@ +// Copyright 2020 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/service/caps/caps_su.h" + +namespace Service::Capture { + +CAPS_SU::CAPS_SU() : ServiceFramework("caps:su") { + // clang-format off + static const FunctionInfo functions[] = { + {201, nullptr, "SaveScreenShot"}, + {203, nullptr, "SaveScreenShotEx0"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +CAPS_SU::~CAPS_SU() = default; + +} // namespace Service::Capture |
