diff options
| author | FearlessTobi <thm.frey@gmail.com> | 2023-09-10 02:36:26 +0200 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-09-10 15:39:25 -0400 |
| commit | 87c0ba129ce38dd3b001fbef8021590a127fb1a8 (patch) | |
| tree | 28fa19ccd43fceeec31e433d32dae41e88d2b17e /src/core/core.h | |
| parent | 36917d8a8f364857f2a54d22b8dfa39c54534f13 (diff) | |
am: Implement UserChannel parameters
Used by the Super Mairo 3D All-Stars collection.
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()>; |
