summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-13 15:39:06 +0200
committerGitHub <noreply@github.com>2023-09-13 15:39:06 +0200
commit9a0ea90018fffffc6bf5575f12178f61d2d01a3a (patch)
tree5731e966de52365e1620b3e423d8dd1e7479f472 /src/core/core.h
parentMerge pull request #11447 from xcfrg/portable-compile-out (diff)
parentam: Implement UserChannel parameters (diff)
downloadyuzu-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.h7
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()>;