diff options
| author | 2020-01-29 22:23:09 -0500 | |
|---|---|---|
| committer | 2020-02-05 23:06:52 -0500 | |
| commit | 77da74e17a7572ee9e157f794bf6e056a478a75a (patch) | |
| tree | e3ee684ac04b46f7f69bdc1533cf08df7df29fc3 | |
| parent | am: Refactor IStorage interface. (diff) | |
| download | yuzu-77da74e17a7572ee9e157f794bf6e056a478a75a.tar.gz yuzu-77da74e17a7572ee9e157f794bf6e056a478a75a.tar.xz yuzu-77da74e17a7572ee9e157f794bf6e056a478a75a.zip | |
services: am: Clear events on PopOutData and PopInteractiveOutData.
| -rw-r--r-- | src/core/hle/service/am/applets/applets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/applets.cpp b/src/core/hle/service/am/applets/applets.cpp index 92f995f8f..3e97ba218 100644 --- a/src/core/hle/service/am/applets/applets.cpp +++ b/src/core/hle/service/am/applets/applets.cpp | |||
| @@ -56,6 +56,7 @@ std::unique_ptr<IStorage> AppletDataBroker::PopNormalDataToGame() { | |||
| 56 | 56 | ||
| 57 | auto out = std::move(out_channel.front()); | 57 | auto out = std::move(out_channel.front()); |
| 58 | out_channel.pop_front(); | 58 | out_channel.pop_front(); |
| 59 | pop_out_data_event.writable->Clear(); | ||
| 59 | return out; | 60 | return out; |
| 60 | } | 61 | } |
| 61 | 62 | ||
| @@ -74,6 +75,7 @@ std::unique_ptr<IStorage> AppletDataBroker::PopInteractiveDataToGame() { | |||
| 74 | 75 | ||
| 75 | auto out = std::move(out_interactive_channel.front()); | 76 | auto out = std::move(out_interactive_channel.front()); |
| 76 | out_interactive_channel.pop_front(); | 77 | out_interactive_channel.pop_front(); |
| 78 | pop_interactive_out_data_event.writable->Clear(); | ||
| 77 | return out; | 79 | return out; |
| 78 | } | 80 | } |
| 79 | 81 | ||