From d9df63583fb3d64512a70ceb3a4b66390c044e98 Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 2 Apr 2021 17:59:04 -0700 Subject: core: Defer CoreTiming initialization. --- src/core/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/core.cpp b/src/core/core.cpp index 66500a0d4..fdaa82c8f 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -166,9 +166,9 @@ struct System::Impl { cpu_manager.SetAsyncGpu(is_async_gpu); core_timing.SetMulticore(is_multicore); - core_timing.Initialize([&system]() { system.RegisterHostThread(); }); kernel.Initialize(); cpu_manager.Initialize(); + core_timing.Initialize([&system]() { system.RegisterHostThread(); }); const auto current_time = std::chrono::duration_cast( std::chrono::system_clock::now().time_since_epoch()); -- cgit v1.2.3