mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 15:15:46 +00:00
Code cleanup (#136)
Remove the workaround for MK8D as we no longer need it. Co-authored-by: MaranBr <maranbr@outlook.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/136
This commit is contained in:
parent
e2f4c16d27
commit
e9e17b8fc2
2 changed files with 1 additions and 11 deletions
|
@ -30,7 +30,7 @@ void Applet::UpdateSuspensionStateLocked(bool force_message) {
|
|||
const bool curr_activity_runnable = lifecycle_manager.IsRunnable();
|
||||
const bool prev_activity_runnable = is_activity_runnable;
|
||||
const bool was_changed = curr_activity_runnable != prev_activity_runnable;
|
||||
|
||||
|
||||
if (was_changed) {
|
||||
if (curr_activity_runnable) {
|
||||
process->Suspend(false);
|
||||
|
|
|
@ -107,16 +107,6 @@ Result ILibraryAppletAccessor::PushInData(SharedPointer<IStorage> storage) {
|
|||
|
||||
Result ILibraryAppletAccessor::PopOutData(Out<SharedPointer<IStorage>> out_storage) {
|
||||
LOG_DEBUG(Service_AM, "called");
|
||||
if (auto caller = m_applet->caller_applet.lock(); caller != nullptr) {
|
||||
caller->SetInteractibleLocked(true);
|
||||
caller->lifecycle_manager.SetFocusState(FocusState::InFocus);
|
||||
caller->lifecycle_manager.UpdateRequestedFocusState();
|
||||
caller->lifecycle_manager.SetResumeNotificationEnabled(true);
|
||||
caller->lifecycle_manager.RequestResumeNotification();
|
||||
caller->UpdateSuspensionStateLocked(true);
|
||||
} else {
|
||||
LOG_CRITICAL(Service_AM, "Caller applet pointer is invalid.");
|
||||
}
|
||||
R_RETURN(m_broker->GetOutData().Pop(out_storage.Get()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue