Explorar el Código

yuzu_cmd: Remove remaining static system instances

Morph hace 4 años
padre
commit
218ebc1fe8
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  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;
     }
 
-    Core::System::InitializeGlobalInstance();
-    auto& system{Core::System::GetInstance()};
-    InputCommon::InputSubsystem input_subsystem;
+    Core::System system{};
+    InputCommon::InputSubsystem input_subsystem{};
 
     // Apply the command line arguments
     system.ApplySettings();