diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-31 07:16:35 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-11-01 09:52:38 +0100 |
commit | 7d2839d7a32fcefb66e1d5b1e0305da760c09eb0 (patch) | |
tree | e2380c7a71d1d024e38bc6e6ed9febf100285fbc | |
parent | hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and other improvements. (diff) | |
download | yuzu-7d2839d7a32fcefb66e1d5b1e0305da760c09eb0.tar yuzu-7d2839d7a32fcefb66e1d5b1e0305da760c09eb0.tar.gz yuzu-7d2839d7a32fcefb66e1d5b1e0305da760c09eb0.tar.bz2 yuzu-7d2839d7a32fcefb66e1d5b1e0305da760c09eb0.tar.lz yuzu-7d2839d7a32fcefb66e1d5b1e0305da760c09eb0.tar.xz yuzu-7d2839d7a32fcefb66e1d5b1e0305da760c09eb0.tar.zst yuzu-7d2839d7a32fcefb66e1d5b1e0305da760c09eb0.zip |
-rw-r--r-- | src/core/core.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index fde2ccc09..242796008 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -179,16 +179,18 @@ struct System::Impl { arp_manager.ResetAll(); telemetry_session = std::make_unique<Core::TelemetrySession>(); + + gpu_core = VideoCore::CreateGPU(emu_window, system); + if (!gpu_core) { + return ResultStatus::ErrorVideoCore; + } + service_manager = std::make_shared<Service::SM::ServiceManager>(kernel); Service::Init(service_manager, system); GDBStub::DeferStart(); interrupt_manager = std::make_unique<Core::Hardware::InterruptManager>(system); - gpu_core = VideoCore::CreateGPU(emu_window, system); - if (!gpu_core) { - return ResultStatus::ErrorVideoCore; - } // Initialize time manager, which must happen after kernel is created time_manager.Initialize(); |