strat: changes for sm tipc (boots 11.0.1, now)

This commit is contained in:
Michael Scire
2021-04-10 17:59:54 -07:00
committed by SciresM
parent b1b3914ccf
commit 1118421fa6
12 changed files with 42 additions and 31 deletions

View File

@@ -52,7 +52,7 @@ namespace ams::sm::impl {
template<typename F>
Result DoWithPerThreadSession(F f) {
Service srv;
TipcService srv;
{
std::scoped_lock lk(GetPerThreadSessionMutex());
R_ABORT_UNLESS(smAtmosphereOpenSession(&srv));