yuzu: Accept default applets for Parental Controls and ECommerce

This commit is contained in:
Zach Hilman 2019-06-05 12:14:24 -04:00
parent e447d8aafa
commit b889167b2c

View File

@ -814,11 +814,13 @@ bool GMainWindow::LoadROM(const QString& filename) {
system.SetGPUDebugContext(debug_context); system.SetGPUDebugContext(debug_context);
system.SetAppletFrontendSet({ system.SetAppletFrontendSet({
std::make_unique<QtErrorDisplay>(*this), nullptr, ///< Parental Controls
nullptr, std::make_unique<QtErrorDisplay>(*this), ///<
std::make_unique<QtProfileSelector>(*this), nullptr, ///< Photo Viewer
std::make_unique<QtSoftwareKeyboard>(*this), std::make_unique<QtProfileSelector>(*this), ///<
std::make_unique<QtWebBrowser>(*this), std::make_unique<QtSoftwareKeyboard>(*this), ///<
std::make_unique<QtWebBrowser>(*this), ///<
nullptr, ///< E-Commerce
}); });
const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())}; const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())};