diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-17 15:19:02 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-17 15:26:48 +0200 |
commit | 51ca93981de55ebb813981c24a8ba20fcf2b75d9 (patch) | |
tree | d5874637e6426893df41b7080ae9287836cc9edc /src/core/hle/service/am/am.cpp | |
parent | applets: Make the applet mode a protected property of Applet (diff) | |
download | yuzu-51ca93981de55ebb813981c24a8ba20fcf2b75d9.tar yuzu-51ca93981de55ebb813981c24a8ba20fcf2b75d9.tar.gz yuzu-51ca93981de55ebb813981c24a8ba20fcf2b75d9.tar.bz2 yuzu-51ca93981de55ebb813981c24a8ba20fcf2b75d9.tar.lz yuzu-51ca93981de55ebb813981c24a8ba20fcf2b75d9.tar.xz yuzu-51ca93981de55ebb813981c24a8ba20fcf2b75d9.tar.zst yuzu-51ca93981de55ebb813981c24a8ba20fcf2b75d9.zip |
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index c59054468..4c8216b47 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -619,16 +619,20 @@ std::size_t AppletMessageQueue::GetMessageCount() const { return messages.size(); } +void AppletMessageQueue::RequestExit() { + PushMessage(AppletMessage::ExitRequested); +} + +void AppletMessageQueue::FocusStateChanged() { + PushMessage(AppletMessage::FocusStateChanged); +} + void AppletMessageQueue::OperationModeChanged() { PushMessage(AppletMessage::OperationModeChanged); PushMessage(AppletMessage::PerformanceModeChanged); on_operation_mode_changed->GetWritableEvent()->Signal(); } -void AppletMessageQueue::RequestExit() { - PushMessage(AppletMessage::ExitRequested); -} - ICommonStateGetter::ICommonStateGetter(Core::System& system_, std::shared_ptr<AppletMessageQueue> msg_queue_) : ServiceFramework{system_, "ICommonStateGetter"}, msg_queue{std::move(msg_queue_)} { |