Fixes crashes in Diablo 3, in AC3, and allows you not to break the launch of guns of fury

This commit is contained in:
Pavel Barabanov 2025-05-31 18:48:25 +03:00
parent 6c655321e6
commit eed703bc81
3 changed files with 19 additions and 35 deletions

View file

@ -61,12 +61,6 @@ Result ILibraryAppletAccessor::IsCompleted(Out<bool> out_is_completed) {
Result ILibraryAppletAccessor::GetResult() {
LOG_DEBUG(Service_AM, "called");
std::scoped_lock lk{m_applet->lock};
if (auto caller_applet = m_applet->caller_applet.lock(); caller_applet) {
caller_applet->UpdateSuspensionStateLocked(true);
} else {
LOG_ERROR(Service_AM, "No caller applet available");
R_THROW(ResultUnknown);
}
R_RETURN(m_applet->terminate_result);
}