diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-04-01 01:16:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 01:16:36 +0200 |
commit | 224a75d83958eda9c563fb4a9c656db285438f9d (patch) | |
tree | a82c3c98f37e94e20865bc5351b19f0df4f9dbde /src/core/hle/service/caps/caps_sc.cpp | |
parent | Merge pull request #3561 from ReinUsesLisp/f2f-conversion (diff) | |
download | yuzu-224a75d83958eda9c563fb4a9c656db285438f9d.tar yuzu-224a75d83958eda9c563fb4a9c656db285438f9d.tar.gz yuzu-224a75d83958eda9c563fb4a9c656db285438f9d.tar.bz2 yuzu-224a75d83958eda9c563fb4a9c656db285438f9d.tar.lz yuzu-224a75d83958eda9c563fb4a9c656db285438f9d.tar.xz yuzu-224a75d83958eda9c563fb4a9c656db285438f9d.tar.zst yuzu-224a75d83958eda9c563fb4a9c656db285438f9d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/caps/caps_sc.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/core/hle/service/caps/caps_sc.cpp b/src/core/hle/service/caps/caps_sc.cpp new file mode 100644 index 000000000..d01a8a58e --- /dev/null +++ b/src/core/hle/service/caps/caps_sc.cpp @@ -0,0 +1,40 @@ +// 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_sc.h" + +namespace Service::Capture { + +CAPS_SC::CAPS_SC() : ServiceFramework("caps:sc") { + // clang-format off + static const FunctionInfo functions[] = { + {1, nullptr, "CaptureRawImage"}, + {2, nullptr, "CaptureRawImageWithTimeout"}, + {3, nullptr, "AttachSharedBuffer"}, + {5, nullptr, "CaptureRawImageToAttachedSharedBuffer"}, + {210, nullptr, "Unknown210"}, + {1001, nullptr, "RequestTakingScreenShot"}, + {1002, nullptr, "RequestTakingScreenShotWithTimeout"}, + {1003, nullptr, "RequestTakingScreenShotEx"}, + {1004, nullptr, "RequestTakingScreenShotEx1"}, + {1009, nullptr, "CancelTakingScreenShot"}, + {1010, nullptr, "SetTakingScreenShotCancelState"}, + {1011, nullptr, "NotifyTakingScreenShotRefused"}, + {1012, nullptr, "NotifyTakingScreenShotFailed"}, + {1101, nullptr, "SetupOverlayMovieThumbnail"}, + {1106, nullptr, "Unknown1106"}, + {1107, nullptr, "Unknown1107"}, + {1201, nullptr, "OpenRawScreenShotReadStream"}, + {1202, nullptr, "CloseRawScreenShotReadStream"}, + {1203, nullptr, "ReadRawScreenShotReadStream"}, + {1204, nullptr, "Unknown1204"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +CAPS_SC::~CAPS_SC() = default; + +} // namespace Service::Capture |