aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-10-15 19:36:52 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-10-15 19:36:52 -0400
commitd4c79a040460c1af7208c1431d09e009b7c14246 (patch)
tree7b6370af5df3949cac9ab8e63b75bac4d0b0c97d /src
parentaef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5 (diff)
main: Add missing make_unique for ui
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 3155a5c190..fdcd423d7b 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -192,7 +192,7 @@ static void RemoveCachedContents() {
}
GMainWindow::GMainWindow()
- : system{std::make_unique<Core::System>()},
+ : ui{std::make_unique<Ui::MainWindow>()}, system{std::make_unique<Core::System>()},
input_subsystem{std::make_shared<InputCommon::InputSubsystem>()},
config{std::make_unique<Config>(*system)},
vfs{std::make_shared<FileSys::RealVfsFilesystem>()},