diff options
| author | JMC47 <JMC4789@gmail.com> | 2019-01-15 13:01:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-15 13:01:36 -0500 |
| commit | 1d3e3de44b177eb7bdd07a02afefb83ac9ba5812 (patch) | |
| tree | 6ee0e26269ff43d5587713e57b8614c2aec96690 /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | e2535254ad2ad6d4f627570ec0b69ebc974f000e (diff) | |
| parent | 0c622929ba0cf1d9c7030029ad86505024e5bbaa (diff) | |
Merge pull request #7629 from JosJuice/auto-disc-change
Automatic disc change for 2-disc games
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 6cd71bd353..697e4cbe6d 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -368,7 +368,10 @@ int main(int argc, char* argv[]) std::unique_ptr<BootParameters> boot; if (options.is_set("exec")) { - boot = BootParameters::GenerateFromFile(static_cast<const char*>(options.get("exec"))); + const std::list<std::string> paths_list = options.all("exec"); + const std::vector<std::string> paths{std::make_move_iterator(std::begin(paths_list)), + std::make_move_iterator(std::end(paths_list))}; + boot = BootParameters::GenerateFromFile(paths); } else if (options.is_set("nand_title")) { |
