diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-05-18 03:47:07 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-05-25 22:09:20 +0200 |
commit | bdc47693f154ffe41f16a452f65d9bd609a72683 (patch) | |
tree | c42661106b8c1d0b9efcc54e9cd55ba697dbeb3e /src/core/hle/service/am/applets/applets.h | |
parent | svc: Save report on call to svcBreak (diff) | |
download | yuzu-bdc47693f154ffe41f16a452f65d9bd609a72683.tar yuzu-bdc47693f154ffe41f16a452f65d9bd609a72683.tar.gz yuzu-bdc47693f154ffe41f16a452f65d9bd609a72683.tar.bz2 yuzu-bdc47693f154ffe41f16a452f65d9bd609a72683.tar.lz yuzu-bdc47693f154ffe41f16a452f65d9bd609a72683.tar.xz yuzu-bdc47693f154ffe41f16a452f65d9bd609a72683.tar.zst yuzu-bdc47693f154ffe41f16a452f65d9bd609a72683.zip |
Diffstat (limited to 'src/core/hle/service/am/applets/applets.h')
-rw-r--r-- | src/core/hle/service/am/applets/applets.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/core/hle/service/am/applets/applets.h b/src/core/hle/service/am/applets/applets.h index 7f932672c..8c2c15968 100644 --- a/src/core/hle/service/am/applets/applets.h +++ b/src/core/hle/service/am/applets/applets.h @@ -54,6 +54,14 @@ public: AppletDataBroker(); ~AppletDataBroker(); + struct RawChannelData { + std::vector<std::vector<u8>> normal; + std::vector<std::vector<u8>> interactive; + }; + + // Retrieves but does not pop the data sent to applet. + RawChannelData PeekDataToAppletForDebug() const; + std::unique_ptr<IStorage> PopNormalDataToGame(); std::unique_ptr<IStorage> PopNormalDataToApplet(); @@ -76,16 +84,16 @@ private: // Queues are named from applet's perspective // PopNormalDataToApplet and PushNormalDataFromGame - std::queue<std::unique_ptr<IStorage>> in_channel; + std::deque<std::unique_ptr<IStorage>> in_channel; // PopNormalDataToGame and PushNormalDataFromApplet - std::queue<std::unique_ptr<IStorage>> out_channel; + std::deque<std::unique_ptr<IStorage>> out_channel; // PopInteractiveDataToApplet and PushInteractiveDataFromGame - std::queue<std::unique_ptr<IStorage>> in_interactive_channel; + std::deque<std::unique_ptr<IStorage>> in_interactive_channel; // PopInteractiveDataToGame and PushInteractiveDataFromApplet - std::queue<std::unique_ptr<IStorage>> out_interactive_channel; + std::deque<std::unique_ptr<IStorage>> out_interactive_channel; Kernel::EventPair state_changed_event; |