From 0911b44f60cf5a6aeb472655c881af7b9b0c5c09 Mon Sep 17 00:00:00 2001 From: spycrab Date: Fri, 16 Mar 2018 09:14:24 +0100 Subject: [PATCH] Qt/Main: Add option to launch file without -e --- Source/Core/DolphinQt2/Main.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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;