From e5d9bcaf431f610b388c8c6f6bf5a7da8ec22553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 27 Feb 2017 23:20:58 +0100 Subject: [PATCH] IOS/ES: Edit uid.sys on AddTitleStart This allows channels to be registered and installed properly. (And it is what IOS does.) --- Source/Core/Core/IOS/ES/ES.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/IOS/ES/ES.cpp b/Source/Core/Core/IOS/ES/ES.cpp index 9bf1977bd8..2ad2a319b4 100644 --- a/Source/Core/Core/IOS/ES/ES.cpp +++ b/Source/Core/Core/IOS/ES/ES.cpp @@ -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); }