aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/acc/async_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/acc/async_context.cpp')
-rw-r--r--src/core/hle/service/acc/async_context.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/async_context.cpp b/src/core/hle/service/acc/async_context.cpp
index a7f751d756..8dec886ad7 100644
--- a/src/core/hle/service/acc/async_context.cpp
+++ b/src/core/hle/service/acc/async_context.cpp
@@ -12,6 +12,17 @@
namespace Service::Account {
IAsyncContext::IAsyncContext(Core::System& system_)
: ServiceFramework{system_, "IAsyncContext"}, service_context{system_, "IAsyncContext"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &IAsyncContext::GetSystemEvent, "GetSystemEvent"},
+ {1, &IAsyncContext::Cancel, "Cancel"},
+ {2, &IAsyncContext::HasDone, "HasDone"},
+ {3, &IAsyncContext::GetResult, "GetResult"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+
completion_event = service_context.CreateEvent("IAsyncContext:CompletionEvent");
}