Services/NvFlinger: Do vSync in a sepparate thread on Multicore.

This commit is contained in:
Fernando Sahmkow 2020-05-29 15:00:17 -04:00
parent 39ddce1ab5
commit 272a87127a
4 changed files with 69 additions and 5 deletions

View file

@ -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