summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp6
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 {
562 562
563 std::array<Core::GPUDirtyMemoryManager, Core::Hardware::NUM_CPU_CORES> 563 std::array<Core::GPUDirtyMemoryManager, Core::Hardware::NUM_CPU_CORES>
564 gpu_dirty_memory_write_manager{}; 564 gpu_dirty_memory_write_manager{};
565
566 std::deque<std::vector<u8>> user_channel;
565}; 567};
566 568
567System::System() : impl{std::make_unique<Impl>(*this)} {} 569System::System() : impl{std::make_unique<Impl>(*this)} {}
@@ -1036,6 +1038,10 @@ void System::ExecuteProgram(std::size_t program_index) {
1036 } 1038 }
1037} 1039}
1038 1040
1041std::deque<std::vector<u8>>& System::GetUserChannel() {
1042 return impl->user_channel;
1043}
1044
1039void System::RegisterExitCallback(ExitCallback&& callback) { 1045void System::RegisterExitCallback(ExitCallback&& callback) {
1040 impl->exit_callback = std::move(callback); 1046 impl->exit_callback = std::move(callback);
1041} 1047}