summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Morph2021-10-14 14:31:28 -0400
committerGravatar Morph2021-10-15 17:34:48 -0400
commit218ebc1fe869fdfcb9bc2aafb175f187a3401360 (patch)
tree1c33806e5faeb2635ea1c6ac3f56778a58c3d6dc
parentcore: Remove static system instance (diff)
downloadyuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar.gz
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar.xz
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.zip
yuzu_cmd: Remove remaining static system instances
-rw-r--r--src/yuzu_cmd/yuzu.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index ba2c993ba..5c36a21a2 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -146,9 +146,8 @@ int main(int argc, char** argv) {
146 return -1; 146 return -1;
147 } 147 }
148 148
149 Core::System::InitializeGlobalInstance(); 149 Core::System system{};
150 auto& system{Core::System::GetInstance()}; 150 InputCommon::InputSubsystem input_subsystem{};
151 InputCommon::InputSubsystem input_subsystem;
152 151
153 // Apply the command line arguments 152 // Apply the command line arguments
154 system.ApplySettings(); 153 system.ApplySettings();