sm: fix wait list reentrancy and state on processing loop entry

This commit is contained in:
Michael Scire authored and SciresM committed 2020-12-31 16:01:26 -08:00
1 parent f768e3c8f9
commit 7a9018dc7a
2 files changed
+21 -2

No files matched your search

+2
View File
@@ -111,6 +111,7 @@ int main(int argc, char **argv)
Handle smm_h;
R_ABORT_UNLESS(sm::impl::RegisterServiceForSelf(&smm_h, sm::ServiceName::Encode("sm:m"), 1));
g_server_manager.RegisterServer<sm::impl::IManagerInterface, sm::ManagerService>(smm_h);
sm::impl::TestAndResume(ResumeImpl);
}
/*===== ATMOSPHERE EXTENSION =====*/
@@ -119,6 +120,7 @@ int main(int argc, char **argv)
Handle smdmnt_h;
R_ABORT_UNLESS(sm::impl::RegisterServiceForSelf(&smdmnt_h, sm::ServiceName::Encode("sm:dmnt"), 1));
g_server_manager.RegisterServer<sm::impl::IDebugMonitorInterface, sm::DebugMonitorService>(smdmnt_h);
sm::impl::TestAndResume(ResumeImpl);
}
/*================================*/