summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2022-07-15 03:42:56 +0200
committerGus Caplan <me@gus.host>2022-07-18 07:35:07 +0200
commit742f67908c191a71b204519a353fb5e42a9dea56 (patch)
tree73da44972adc2b3c2bd9f427c9afd9108673547f /src/core/hle
parentMerge pull request #8569 from merryhime/watchpoints (diff)
downloadyuzu-742f67908c191a71b204519a353fb5e42a9dea56.tar
yuzu-742f67908c191a71b204519a353fb5e42a9dea56.tar.gz
yuzu-742f67908c191a71b204519a353fb5e42a9dea56.tar.bz2
yuzu-742f67908c191a71b204519a353fb5e42a9dea56.tar.lz
yuzu-742f67908c191a71b204519a353fb5e42a9dea56.tar.xz
yuzu-742f67908c191a71b204519a353fb5e42a9dea56.tar.zst
yuzu-742f67908c191a71b204519a353fb5e42a9dea56.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/am/am.cpp4
-rw-r--r--src/core/hle/service/am/am.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 9c62ebc60..9116dd77c 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -636,6 +636,10 @@ void AppletMessageQueue::RequestExit() {
PushMessage(AppletMessage::Exit);
}
+void AppletMessageQueue::RequestResume() {
+ PushMessage(AppletMessage::Resume);
+}
+
void AppletMessageQueue::FocusStateChanged() {
PushMessage(AppletMessage::FocusStateChanged);
}
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h
index 988ead215..53144427b 100644
--- a/src/core/hle/service/am/am.h
+++ b/src/core/hle/service/am/am.h
@@ -90,6 +90,7 @@ public:
AppletMessage PopMessage();
std::size_t GetMessageCount() const;
void RequestExit();
+ void RequestResume();
void FocusStateChanged();
void OperationModeChanged();