Skip to content

Commit

Permalink
Update apt.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat committed Sep 24, 2023
1 parent f1bb03d commit 80ebb35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/services/apt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 80ebb35

Please sign in to comment.