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 | ff92a0c8f4aadf1aa555d9f88800a4593795cd66 (patch) | |
| tree | 28fa19ccd43fceeec31e433d32dae41e88d2b17e /src/core/core.cpp | |
| parent | abf45c2d0be5290781cb13c09867f810e5b8ebf4 (diff) | |
am: Implement UserChannel parameters
Used by the Super Mairo 3D All-Stars collection.
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index e95ae80da1..f075ae7fa2 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -562,6 +562,8 @@ struct System::Impl { std::array<Core::GPUDirtyMemoryManager, Core::Hardware::NUM_CPU_CORES> gpu_dirty_memory_write_manager{}; + + std::deque<std::vector<u8>> user_channel; }; System::System() : impl{std::make_unique<Impl>(*this)} {} @@ -1036,6 +1038,10 @@ void System::ExecuteProgram(std::size_t program_index) { } } +std::deque<std::vector<u8>>& System::GetUserChannel() { + return impl->user_channel; +} + void System::RegisterExitCallback(ExitCallback&& callback) { impl->exit_callback = std::move(callback); } |
