diff options
| author | 2023-03-01 10:38:20 -0500 | |
|---|---|---|
| committer | 2023-03-01 10:38:20 -0500 | |
| commit | 97f7a560f3905a1dd6a4e5a0a308ea752004bf08 (patch) | |
| tree | e60a69f96d16d051220b66e90906a7abeacf1064 /src/core/core.h | |
| parent | Merge pull request #9879 from zhaobot/tx-update-20230301024940 (diff) | |
| parent | sm:: fix lingering session initialization issues (diff) | |
| download | yuzu-97f7a560f3905a1dd6a4e5a0a308ea752004bf08.tar.gz yuzu-97f7a560f3905a1dd6a4e5a0a308ea752004bf08.tar.xz yuzu-97f7a560f3905a1dd6a4e5a0a308ea752004bf08.zip | |
Merge pull request #9832 from liamwhite/hle-mp
service: HLE multiprocess
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index 0042ac170..91e78672e 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -61,6 +61,8 @@ namespace Glue { | |||
| 61 | class ARPManager; | 61 | class ARPManager; |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | class ServerManager; | ||
| 65 | |||
| 64 | namespace SM { | 66 | namespace SM { |
| 65 | class ServiceManager; | 67 | class ServiceManager; |
| 66 | } // namespace SM | 68 | } // namespace SM |
| @@ -417,6 +419,9 @@ public: | |||
| 417 | /// Tells if the system debugger is enabled. | 419 | /// Tells if the system debugger is enabled. |
| 418 | [[nodiscard]] bool DebuggerEnabled() const; | 420 | [[nodiscard]] bool DebuggerEnabled() const; |
| 419 | 421 | ||
| 422 | /// Runs a server instance until shutdown. | ||
| 423 | void RunServer(std::unique_ptr<Service::ServerManager>&& server_manager); | ||
| 424 | |||
| 420 | /// Type used for the frontend to designate a callback for System to re-launch the application | 425 | /// Type used for the frontend to designate a callback for System to re-launch the application |
| 421 | /// using a specified program index. | 426 | /// using a specified program index. |
| 422 | using ExecuteProgramCallback = std::function<void(std::size_t)>; | 427 | using ExecuteProgramCallback = std::function<void(std::size_t)>; |