diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-18 10:37:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-18 10:37:52 -0500 |
| commit | 1fc86b1e3a7690abfa668bb45b45ac0d5e4cc4f6 (patch) | |
| tree | 61fd5e387c45642135fbcbb88ab326236f4f7789 /src/core/hle/service/erpt/erpt.cpp | |
| parent | 55839576166d546c037d5da2f7bdf3c94ec47423 (diff) | |
| parent | ec02a1cfe594f7c635107cdac8edb0851837a0e4 (diff) | |
Merge pull request #13032 from german77/qlauncher
service: Implement functions needed by Qlaunch
Diffstat (limited to 'src/core/hle/service/erpt/erpt.cpp')
| -rw-r--r-- | src/core/hle/service/erpt/erpt.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/hle/service/erpt/erpt.cpp b/src/core/hle/service/erpt/erpt.cpp index 3ea862fad..39ae3a723 100644 --- a/src/core/hle/service/erpt/erpt.cpp +++ b/src/core/hle/service/erpt/erpt.cpp @@ -3,6 +3,8 @@ #include <memory> +#include "common/logging/log.h" +#include "core/hle/service/cmif_serialization.h" #include "core/hle/service/erpt/erpt.h" #include "core/hle/service/server_manager.h" #include "core/hle/service/service.h" @@ -15,7 +17,7 @@ public: explicit ErrorReportContext(Core::System& system_) : ServiceFramework{system_, "erpt:c"} { // clang-format off static const FunctionInfo functions[] = { - {0, nullptr, "SubmitContext"}, + {0, C<&ErrorReportContext::SubmitContext>, "SubmitContext"}, {1, nullptr, "CreateReportV0"}, {2, nullptr, "SetInitialLaunchSettingsCompletionTime"}, {3, nullptr, "ClearInitialLaunchSettingsCompletionTime"}, @@ -36,6 +38,14 @@ public: RegisterHandlers(functions); } + +private: + Result SubmitContext(InBuffer<BufferAttr_HipcMapAlias> buffer_a, + InBuffer<BufferAttr_HipcMapAlias> buffer_b) { + LOG_WARNING(Service_SET, "(STUBBED) called, buffer_a_size={}, buffer_b_size={}", + buffer_a.size(), buffer_b.size()); + R_SUCCEED(); + } }; class ErrorReportSession final : public ServiceFramework<ErrorReportSession> { |
