summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-03 02:59:04 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:50 +0200
commitd9df63583fb3d64512a70ceb3a4b66390c044e98 (patch)
tree9acc74f6cd50c4ff40daff990c92782744d3cc7b /src/core
parentcore: memory: Add a work-around to allocate and access kernel memory regions by vaddr. (diff)
downloadyuzu-d9df63583fb3d64512a70ceb3a4b66390c044e98.tar
yuzu-d9df63583fb3d64512a70ceb3a4b66390c044e98.tar.gz
yuzu-d9df63583fb3d64512a70ceb3a4b66390c044e98.tar.bz2
yuzu-d9df63583fb3d64512a70ceb3a4b66390c044e98.tar.lz
yuzu-d9df63583fb3d64512a70ceb3a4b66390c044e98.tar.xz
yuzu-d9df63583fb3d64512a70ceb3a4b66390c044e98.tar.zst
yuzu-d9df63583fb3d64512a70ceb3a4b66390c044e98.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp2
1 files changed, 1 insertions, 1 deletions
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::seconds>(
std::chrono::system_clock::now().time_since_epoch());