Просмотр исходного кода

Removed reference to core timing to nvflinger and used system instead

David Marcec 6 лет назад
Родитель
Сommit
e73ac40eaa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/service/service.cpp

+ 1 - 1
src/core/hle/service/service.cpp

@@ -198,7 +198,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co
 void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) {
 void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) {
     // NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it
     // NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it
     // here and pass it into the respective InstallInterfaces functions.
     // here and pass it into the respective InstallInterfaces functions.
-    auto nv_flinger = std::make_shared<NVFlinger::NVFlinger>(system.CoreTiming(), system);
+    auto nv_flinger = std::make_shared<NVFlinger::NVFlinger>(system);
     system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false);
     system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false);
 
 
     SM::ServiceManager::InstallInterfaces(sm);
     SM::ServiceManager::InstallInterfaces(sm);