summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-10-14 20:31:28 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-10-15 23:34:48 +0200
commit218ebc1fe869fdfcb9bc2aafb175f187a3401360 (patch)
tree1c33806e5faeb2635ea1c6ac3f56778a58c3d6dc /src
parentcore: Remove static system instance (diff)
downloadyuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar.gz
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar.bz2
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar.lz
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar.xz
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.tar.zst
yuzu-218ebc1fe869fdfcb9bc2aafb175f187a3401360.zip
Diffstat (limited to 'src')
-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) {
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();