2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

main: Add missing make_unique for ui

This commit is contained in:
Morph 2021-10-15 19:36:52 -04:00
parent aef3ae1cb9
commit d4c79a0404

View file

@ -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>()},