summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-23 03:00:42 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-03 23:26:27 +0100
commit6deccc7e6b7a242c94e4e54cc805c5ee390a5284 (patch)
treef50ea2ffe0217e8ba7a4543c7923719f6652c3d6 /src
parentcore: Add getter/setter for ProfileSelector in System (diff)
downloadyuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar
yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar.gz
yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar.bz2
yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar.lz
yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar.xz
yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.tar.zst
yuzu-6deccc7e6b7a242c94e4e54cc805c5ee390a5284.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 22c207a3a..b39bf1903 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -8,6 +8,7 @@
#include <thread>
// VFS includes must be before glad as they will conflict with Windows file api, which uses defines.
+#include "applets/profile_select.h"
#include "applets/software_keyboard.h"
#include "core/file_sys/vfs.h"
#include "core/file_sys/vfs_real.h"
@@ -571,6 +572,7 @@ bool GMainWindow::LoadROM(const QString& filename) {
system.SetGPUDebugContext(debug_context);
+ system.SetProfileSelector(std::make_unique<QtProfileSelector>(*this));
system.SetSoftwareKeyboard(std::make_unique<QtSoftwareKeyboard>(*this));
const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())};