diff options
| author | 2023-02-18 16:26:48 -0500 | |
|---|---|---|
| committer | 2023-02-21 12:19:25 -0500 | |
| commit | a9369726147c7499e0016e183d5d56a7b44efe4b (patch) | |
| tree | c1d1b4a9fdafd92863c0922b05d72c14de83ffa7 /src/core/core.cpp | |
| parent | core: defer cpu shutdown (diff) | |
| download | yuzu-a9369726147c7499e0016e183d5d56a7b44efe4b.tar.gz yuzu-a9369726147c7499e0016e183d5d56a7b44efe4b.tar.xz yuzu-a9369726147c7499e0016e183d5d56a7b44efe4b.zip | |
service: refactor server architecture
Converts services to have their own processes
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 2683533b8..4a1372d15 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -939,6 +939,10 @@ const Network::RoomNetwork& System::GetRoomNetwork() const { | |||
| 939 | return impl->room_network; | 939 | return impl->room_network; |
| 940 | } | 940 | } |
| 941 | 941 | ||
| 942 | void System::RunServer(std::unique_ptr<Service::ServerManager>&& server_manager) { | ||
| 943 | return impl->kernel.RunServer(std::move(server_manager)); | ||
| 944 | } | ||
| 945 | |||
| 942 | void System::RegisterExecuteProgramCallback(ExecuteProgramCallback&& callback) { | 946 | void System::RegisterExecuteProgramCallback(ExecuteProgramCallback&& callback) { |
| 943 | impl->execute_program_callback = std::move(callback); | 947 | impl->execute_program_callback = std::move(callback); |
| 944 | } | 948 | } |