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:
parent
1e3f8c1a1d
commit
e5d9bcaf43
|
@ -422,6 +422,9 @@ IPCCommandResult ES::AddTitleStart(const IOCtlVRequest& request)
|
||||||
if (!WriteTMD(m_addtitle_tmd))
|
if (!WriteTMD(m_addtitle_tmd))
|
||||||
return GetDefaultReply(ES_WRITE_FAILURE);
|
return GetDefaultReply(ES_WRITE_FAILURE);
|
||||||
|
|
||||||
|
DiscIO::cUIDsys uid_sys{Common::FROM_CONFIGURED_ROOT};
|
||||||
|
uid_sys.AddTitle(m_addtitle_tmd.GetTitleId());
|
||||||
|
|
||||||
return GetDefaultReply(IPC_SUCCESS);
|
return GetDefaultReply(IPC_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue