From 80ebb353a527d638105b3e33d96a611cf3870e6a Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Mon, 25 Sep 2023 00:54:35 +0300 Subject: [PATCH] Update apt.cpp --- src/core/services/apt.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/services/apt.cpp b/src/core/services/apt.cpp index 78ec80bc8..d969f2a44 100644 --- a/src/core/services/apt.cpp +++ b/src/core/services/apt.cpp @@ -183,6 +183,11 @@ void APTService::enable(u32 messagePointer) { log("APT::Enable\n"); mem.write32(messagePointer, IPC::responseHeader(0x3, 1, 0)); mem.write32(messagePointer + 4, Result::Success); + + // Some apps like Home Menu and Game Notes seem to rely on resume event being triggered here. Doesn't seem to break anything, so + if (resumeEvent.has_value()) { + kernel.signalEvent(resumeEvent.value()); + } } void APTService::initialize(u32 messagePointer) {