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 | 4b68df6ef8c8d9b2072ba69a99f9262e84acd685 (patch) | |
| tree | 5731e966de52365e1620b3e423d8dd1e7479f472 /src/core/core.cpp | |
| parent | 4e96b630b4f85f72900cc6e75ae61af76d94118e (diff) | |
| parent | ff92a0c8f4aadf1aa555d9f88800a4593795cd66 (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 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); } |
