summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar liamwhite2023-09-13 09:39:06 -0400
committerGravatar GitHub2023-09-13 09:39:06 -0400
commit9a0ea90018fffffc6bf5575f12178f61d2d01a3a (patch)
tree5731e966de52365e1620b3e423d8dd1e7479f472 /src/core/core.h
parentMerge pull request #11447 from xcfrg/portable-compile-out (diff)
parentam: Implement UserChannel parameters (diff)
downloadyuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar.gz
yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.tar.xz
yuzu-9a0ea90018fffffc6bf5575f12178f61d2d01a3a.zip
Merge pull request #11473 from liamwhite/fix-launch-param
am: Implement UserChannel parameters
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index a9ff9315e..fba312125 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -4,6 +4,7 @@
4#pragma once 4#pragma once
5 5
6#include <cstddef> 6#include <cstddef>
7#include <deque>
7#include <functional> 8#include <functional>
8#include <memory> 9#include <memory>
9#include <mutex> 10#include <mutex>
@@ -459,6 +460,12 @@ public:
459 */ 460 */
460 void ExecuteProgram(std::size_t program_index); 461 void ExecuteProgram(std::size_t program_index);
461 462
463 /**
464 * Gets a reference to the user channel stack.
465 * It is used to transfer data between programs.
466 */
467 [[nodiscard]] std::deque<std::vector<u8>>& GetUserChannel();
468
462 /// Type used for the frontend to designate a callback for System to exit the application. 469 /// Type used for the frontend to designate a callback for System to exit the application.
463 using ExitCallback = std::function<void()>; 470 using ExitCallback = std::function<void()>;
464 471