mirror of https://github.com/stella-emu/stella.git
Updated comments.
This commit is contained in:
parent
130fcf1dfc
commit
324ba22180
|
@ -81,14 +81,12 @@ void parseCommandLine(int ac, char* av[],
|
||||||
key = key.substr(1);
|
key = key.substr(1);
|
||||||
|
|
||||||
// Certain options are used only in the main function
|
// Certain options are used only in the main function
|
||||||
// We detect these now, and remove them from further consideration
|
|
||||||
if(key == "help" || key == "listrominfo" || key == "rominfo" || key == "takesnapshot")
|
if(key == "help" || key == "listrominfo" || key == "rominfo" || key == "takesnapshot")
|
||||||
{
|
{
|
||||||
localOpts[key] = true;
|
localOpts[key] = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Take care of arguments without an option that are needed outside
|
// Take care of arguments without an option that are needed globally
|
||||||
// be saved to the config file
|
|
||||||
if(key == "debug" || key == "holdselect" || key == "holdreset")
|
if(key == "debug" || key == "holdselect" || key == "holdreset")
|
||||||
{
|
{
|
||||||
globalOpts[key] = true;
|
globalOpts[key] = true;
|
||||||
|
|
Loading…
Reference in New Issue