IOS/ES: Edit uid.sys on AddTitleStart

This allows channels to be registered and installed properly.
(And it is what IOS does.)
This commit is contained in:
Léo Lam committed 2017-03-01 17:36:07 +01:00
1 parent 1e3f8c1a1d
commit e5d9bcaf43
1 file changed
+3
+3
View File
@@ -422,6 +422,9 @@ IPCCommandResult ES::AddTitleStart(const IOCtlVRequest& request)
if (!WriteTMD(m_addtitle_tmd))
return GetDefaultReply(ES_WRITE_FAILURE);
DiscIO::cUIDsys uid_sys{Common::FROM_CONFIGURED_ROOT};
uid_sys.AddTitle(m_addtitle_tmd.GetTitleId());
return GetDefaultReply(IPC_SUCCESS);
}