From dae950ff90e16d6b618874af2b8b455e58bb95c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 23 Apr 2017 12:38:16 +0200 Subject: IOS: Implement UID/GID changes for the PPC This will be required for permission checks in the future. Note that this is only for the PPC as we do not have actual processes. Keeping track of other modules' UIDs/GIDs is virtually useless anyway. UID/GID changes are implemented in the following functions: * ES_Launch * ES_DIVerify ES_SetUid is not implemented yet because it'd need further changes. --- Source/Core/DiscIO/NANDContentLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp') diff --git a/Source/Core/DiscIO/NANDContentLoader.cpp b/Source/Core/DiscIO/NANDContentLoader.cpp index 58594d6fc5..79242d1307 100644 --- a/Source/Core/DiscIO/NANDContentLoader.cpp +++ b/Source/Core/DiscIO/NANDContentLoader.cpp @@ -336,7 +336,7 @@ u64 CNANDContentManager::Install_WiiWAD(const std::string& filename) } IOS::ES::UIDSys uid_sys{Common::FromWhichRoot::FROM_CONFIGURED_ROOT}; - uid_sys.AddTitle(title_id); + uid_sys.GetOrInsertUIDForTitle(title_id); ClearCache(); -- cgit v1.2.3