diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-13 09:39:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 09:39:06 -0400 |
commit | 9a0ea90018fffffc6bf5575f12178f61d2d01a3a (patch) | |
tree | 5731e966de52365e1620b3e423d8dd1e7479f472 /src/core/core.cpp | |
parent | ce5320c49f6e3c1dc52b9046213366dd0df1612f (diff) | |
parent | 87c0ba129ce38dd3b001fbef8021590a127fb1a8 (diff) |
Merge pull request #11473 from liamwhite/fix-launch-param
am: Implement UserChannel parameters
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 e95ae80da..f075ae7fa 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); } |