kern: improve KSynchronizationObject, kill KSynchronization

This commit is contained in:
Michael Scire authored and SciresM committed 2020-12-02 06:43:37 -08:00
1 parent b60054dba1
commit 1852fe8612
11 files changed
+132 -259

No files matched your search

@@ -72,7 +72,7 @@ namespace ams::kern::svc {
/* Wait for a message. */
while (true) {
s32 index;
Result result = Kernel::GetSynchronization().Wait(std::addressof(index), objs, num_objects, timeout);
Result result = KSynchronizationObject::Wait(std::addressof(index), objs, num_objects, timeout);
if (svc::ResultTimedOut::Includes(result)) {
return result;
}