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

yuzu_cmd: Remove remaining static system instances

Morph 4 лет назад
Родитель
Сommit
218ebc1fe8
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      src/yuzu_cmd/yuzu.cpp

+ 2 - 3
src/yuzu_cmd/yuzu.cpp

@@ -146,9 +146,8 @@ int main(int argc, char** argv) {
         return -1;
         return -1;
     }
     }
 
 
-    Core::System::InitializeGlobalInstance();
-    auto& system{Core::System::GetInstance()};
-    InputCommon::InputSubsystem input_subsystem;
+    Core::System system{};
+    InputCommon::InputSubsystem input_subsystem{};
 
 
     // Apply the command line arguments
     // Apply the command line arguments
     system.ApplySettings();
     system.ApplySettings();