summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-10-01 15:41:54 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-10-24 11:41:54 +0200
commit60ba3827992ab5cfaea345a10b0f4d162aa2b75e (patch)
tree97d22da503452cab2f0255d0b9f381999416b480 /Source/Core/DolphinQt2/MainWindow.cpp
parent62be010ac6c38582e6254f21b510264876301ecc (diff)
Boot: Add support for booting NAND titles with just the ID
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp
index fbb508f195..7ebc6e9546 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -652,8 +652,7 @@ void MainWindow::PerformOnlineUpdate(const std::string& region)
void MainWindow::BootWiiSystemMenu()
{
- StartGame(QString::fromStdString(
- Common::GetTitleContentPath(Titles::SYSTEM_MENU, Common::FROM_CONFIGURED_ROOT)));
+ StartGame(std::make_unique<BootParameters>(BootParameters::NANDTitle{Titles::SYSTEM_MENU}));
}
void MainWindow::NetPlayInit()