diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-06-28 00:11:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 00:11:22 +0200 |
commit | bd4fefe5e72001679a01369e611eed058ff91ee1 (patch) | |
tree | 6caf481aca32bc9e01bbd2543bf00a881e05eff0 /src/yuzu/main.cpp | |
parent | Merge pull request #9663 from EBADBEEF/disable-controller-applet (diff) | |
parent | yuzu: Fix clang format (diff) | |
download | yuzu-bd4fefe5e72001679a01369e611eed058ff91ee1.tar yuzu-bd4fefe5e72001679a01369e611eed058ff91ee1.tar.gz yuzu-bd4fefe5e72001679a01369e611eed058ff91ee1.tar.bz2 yuzu-bd4fefe5e72001679a01369e611eed058ff91ee1.tar.lz yuzu-bd4fefe5e72001679a01369e611eed058ff91ee1.tar.xz yuzu-bd4fefe5e72001679a01369e611eed058ff91ee1.tar.zst yuzu-bd4fefe5e72001679a01369e611eed058ff91ee1.zip |
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 24e59f646..e8418b302 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1707,16 +1707,17 @@ bool GMainWindow::LoadROM(const QString& filename, u64 program_id, std::size_t p system->SetFilesystem(vfs); system->SetAppletFrontendSet({ - std::make_unique<QtAmiiboSettings>(*this), // Amiibo Settings - (UISettings::values.controller_applet_disabled.GetValue() == true) ? nullptr : - std::make_unique<QtControllerSelector>(*this), // Controller Selector - std::make_unique<QtErrorDisplay>(*this), // Error Display - nullptr, // Mii Editor - nullptr, // Parental Controls - nullptr, // Photo Viewer - std::make_unique<QtProfileSelector>(*this), // Profile Selector - std::make_unique<QtSoftwareKeyboard>(*this), // Software Keyboard - std::make_unique<QtWebBrowser>(*this), // Web Browser + std::make_unique<QtAmiiboSettings>(*this), // Amiibo Settings + (UISettings::values.controller_applet_disabled.GetValue() == true) + ? nullptr + : std::make_unique<QtControllerSelector>(*this), // Controller Selector + std::make_unique<QtErrorDisplay>(*this), // Error Display + nullptr, // Mii Editor + nullptr, // Parental Controls + nullptr, // Photo Viewer + std::make_unique<QtProfileSelector>(*this), // Profile Selector + std::make_unique<QtSoftwareKeyboard>(*this), // Software Keyboard + std::make_unique<QtWebBrowser>(*this), // Web Browser }); const Core::SystemResultStatus result{ |