From 51bad55da4701569fb6370d7f365d9f666baad5b Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 29 Oct 2018 22:14:34 -0700 Subject: [PATCH] fs.mitm: split out set.mitm --- include/stratosphere/mitm/mitm_query_service.hpp | 4 ++-- include/stratosphere/mitm/mitm_server.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/stratosphere/mitm/mitm_query_service.hpp b/include/stratosphere/mitm/mitm_query_service.hpp index a007cdc8..621c4cfb 100644 --- a/include/stratosphere/mitm/mitm_query_service.hpp +++ b/include/stratosphere/mitm/mitm_query_service.hpp @@ -44,7 +44,7 @@ class MitmQueryService : public IServiceObject { } public: DEFINE_SERVICE_DISPATCH_TABLE { - MakeServiceCommandMeta(), - MakeServiceCommandMeta(), + MakeServiceCommandMeta::ShouldMitm>(), + MakeServiceCommandMeta::AssociatePidToTid>(), }; }; \ No newline at end of file diff --git a/include/stratosphere/mitm/mitm_server.hpp b/include/stratosphere/mitm/mitm_server.hpp index 5380fae2..dc7dbac6 100644 --- a/include/stratosphere/mitm/mitm_server.hpp +++ b/include/stratosphere/mitm/mitm_server.hpp @@ -93,8 +93,8 @@ template static void AddMitmServerToManager(SessionManagerBase *manager, const char *srv_name, unsigned int max_sessions) { Handle query_h; auto *srv = new MitmServer(&query_h, srv_name, max_sessions); - manager->AddWaitable(srv); manager->AddSession(query_h, std::move(ServiceObjectHolder(std::move(std::make_shared>())))); + manager->AddWaitable(srv); }