summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-05-29 21:00:17 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:36:20 +0200
commit272a87127a68bbb9d7c7984e619ee12702d7b8e0 (patch)
tree9a53726ce771eae3bd350829f07a02e7e30c521f /src/core/core.cpp
parentExternals: Update Dynarmic. (diff)
downloadyuzu-272a87127a68bbb9d7c7984e619ee12702d7b8e0.tar
yuzu-272a87127a68bbb9d7c7984e619ee12702d7b8e0.tar.gz
yuzu-272a87127a68bbb9d7c7984e619ee12702d7b8e0.tar.bz2
yuzu-272a87127a68bbb9d7c7984e619ee12702d7b8e0.tar.lz
yuzu-272a87127a68bbb9d7c7984e619ee12702d7b8e0.tar.xz
yuzu-272a87127a68bbb9d7c7984e619ee12702d7b8e0.tar.zst
yuzu-272a87127a68bbb9d7c7984e619ee12702d7b8e0.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 50656697f..8256ec0fc 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -294,8 +294,6 @@ struct System::Impl {
service_manager.reset();
cheat_engine.reset();
telemetry_session.reset();
- perf_stats.reset();
- gpu_core.reset();
device_memory.reset();
// Close all CPU/threading state
@@ -307,6 +305,8 @@ struct System::Impl {
// Close app loader
app_loader.reset();
+ gpu_core.reset();
+ perf_stats.reset();
// Clear all applets
applet_manager.ClearAll();
@@ -764,4 +764,8 @@ void System::ExitDynarmicProfile() {
MicroProfileLeave(impl->microprofile_dynarmic[core], impl->dynarmic_ticks[core]);
}
+bool System::IsMulticore() const {
+ return impl->is_multicore;
+}
+
} // namespace Core