diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp index 1a9b66cbae..8b29f6590c 100644 --- a/Source/Core/DolphinQt2/Main.cpp +++ b/Source/Core/DolphinQt2/Main.cpp @@ -86,7 +86,11 @@ int main(int argc, char* argv[]) &app, &Core::HostDispatchJobs); std::unique_ptr boot; - if (options.is_set("nand_title")) + if (options.is_set("exec")) + { + boot = BootParameters::GenerateFromFile(static_cast(options.get("exec"))); + } + else if (options.is_set("nand_title")) { const std::string hex_string = static_cast(options.get("nand_title")); if (hex_string.length() == 16)