summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/erpt/erpt.cpp12
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 @@
3 3
4#include <memory> 4#include <memory>
5 5
6#include "common/logging/log.h"
7#include "core/hle/service/cmif_serialization.h"
6#include "core/hle/service/erpt/erpt.h" 8#include "core/hle/service/erpt/erpt.h"
7#include "core/hle/service/server_manager.h" 9#include "core/hle/service/server_manager.h"
8#include "core/hle/service/service.h" 10#include "core/hle/service/service.h"
@@ -15,7 +17,7 @@ public:
15 explicit ErrorReportContext(Core::System& system_) : ServiceFramework{system_, "erpt:c"} { 17 explicit ErrorReportContext(Core::System& system_) : ServiceFramework{system_, "erpt:c"} {
16 // clang-format off 18 // clang-format off
17 static const FunctionInfo functions[] = { 19 static const FunctionInfo functions[] = {
18 {0, nullptr, "SubmitContext"}, 20 {0, C<&ErrorReportContext::SubmitContext>, "SubmitContext"},
19 {1, nullptr, "CreateReportV0"}, 21 {1, nullptr, "CreateReportV0"},
20 {2, nullptr, "SetInitialLaunchSettingsCompletionTime"}, 22 {2, nullptr, "SetInitialLaunchSettingsCompletionTime"},
21 {3, nullptr, "ClearInitialLaunchSettingsCompletionTime"}, 23 {3, nullptr, "ClearInitialLaunchSettingsCompletionTime"},
@@ -36,6 +38,14 @@ public:
36 38
37 RegisterHandlers(functions); 39 RegisterHandlers(functions);
38 } 40 }
41
42private:
43 Result SubmitContext(InBuffer<BufferAttr_HipcMapAlias> buffer_a,
44 InBuffer<BufferAttr_HipcMapAlias> buffer_b) {
45 LOG_WARNING(Service_SET, "(STUBBED) called, buffer_a_size={}, buffer_b_size={}",
46 buffer_a.size(), buffer_b.size());
47 R_SUCCEED();
48 }
39}; 49};
40 50
41class ErrorReportSession final : public ServiceFramework<ErrorReportSession> { 51class ErrorReportSession final : public ServiceFramework<ErrorReportSession> {