summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt2/Main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp
index c04dcc454a..e3cc6f00ee 100644
--- a/Source/Core/DolphinQt2/Main.cpp
+++ b/Source/Core/DolphinQt2/Main.cpp
@@ -104,6 +104,10 @@ int main(int argc, char* argv[])
QMessageBox::critical(nullptr, QObject::tr("Error"), QObject::tr("Invalid title ID."));
}
}
+ else if (!args.empty())
+ {
+ boot = BootParameters::GenerateFromFile(args.front());
+ }
int retval = 0;