summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2023-09-10 02:36:26 +0200
committerLiam <byteslice@airmail.cc>2023-09-10 21:39:25 +0200
commit87c0ba129ce38dd3b001fbef8021590a127fb1a8 (patch)
tree28fa19ccd43fceeec31e433d32dae41e88d2b17e /src/core/core.cpp
parentam: Remove bcat from PopLaunchParameter (diff)
downloadyuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.gz
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.bz2
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.lz
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.xz
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.zst
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.zip
Diffstat (limited to '')
-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 {
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);
}