mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core: Add support for specifying a command line option to boot the game into a save-state
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user