mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
UI: Implement a command line option to boot NAND title
This commit is contained in:
@ -65,7 +65,7 @@
|
||||
#include "UICommon/X11Utils.h"
|
||||
#endif
|
||||
|
||||
MainWindow::MainWindow() : QMainWindow(nullptr)
|
||||
MainWindow::MainWindow(std::unique_ptr<BootParameters> boot_parameters) : QMainWindow(nullptr)
|
||||
{
|
||||
setWindowTitle(QString::fromStdString(Common::scm_rev_str));
|
||||
setWindowIcon(QIcon(Resources::GetMisc(Resources::LOGO_SMALL)));
|
||||
@ -84,6 +84,9 @@ MainWindow::MainWindow() : QMainWindow(nullptr)
|
||||
InitCoreCallbacks();
|
||||
|
||||
NetPlayInit();
|
||||
|
||||
if (boot_parameters)
|
||||
StartGame(std::move(boot_parameters));
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
Reference in New Issue
Block a user