summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/NANDContentLoader.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-04-23 12:38:16 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-04-23 23:09:44 +0200
commitdae950ff90e16d6b618874af2b8b455e58bb95c2 (patch)
tree0b95abb4ac5a579f3495d9db3825c25bdd91dda0 /Source/Core/DiscIO/NANDContentLoader.cpp
parent8a559f2e580c8528f56328d5fed5c70de809b9a1 (diff)
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.
Diffstat (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp')
-rw-r--r--Source/Core/DiscIO/NANDContentLoader.cpp2
1 files changed, 1 insertions, 1 deletions
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();