mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Core: Add support for specifying a command line option to boot the game into a save-state
This commit is contained in:
parent
74b2410d7e
commit
cdf5490d56
3 changed files with 39 additions and 6 deletions
|
@ -94,6 +94,11 @@ std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options)
|
|||
.metavar("<System>.<Section>.<Key>=<Value>")
|
||||
.type("string")
|
||||
.help("Set a configuration option");
|
||||
parser->add_option("-s", "--save_state")
|
||||
.action("store")
|
||||
.metavar("<file>")
|
||||
.type("string")
|
||||
.help("Load the initial save state");
|
||||
|
||||
if (options == ParserOptions::IncludeGUIOptions)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue