diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-13 15:39:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 15:39:06 +0200 |
commit | 9a0ea90018fffffc6bf5575f12178f61d2d01a3a (patch) | |
tree | 5731e966de52365e1620b3e423d8dd1e7479f472 /src/core/core.h | |
parent | Merge pull request #11447 from xcfrg/portable-compile-out (diff) | |
parent | am: Implement UserChannel parameters (diff) | |
download | yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar.gz yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar.bz2 yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar.lz yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar.xz yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar.zst yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.zip |
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index a9ff9315e..fba312125 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -4,6 +4,7 @@ #pragma once #include <cstddef> +#include <deque> #include <functional> #include <memory> #include <mutex> @@ -459,6 +460,12 @@ public: */ void ExecuteProgram(std::size_t program_index); + /** + * Gets a reference to the user channel stack. + * It is used to transfer data between programs. + */ + [[nodiscard]] std::deque<std::vector<u8>>& GetUserChannel(); + /// Type used for the frontend to designate a callback for System to exit the application. using ExitCallback = std::function<void()>; |