Updated comments.

This commit is contained in:
Stephen Anthony 2019-02-21 22:18:46 -03:30
parent 130fcf1dfc
commit 324ba22180
1 changed files with 1 additions and 3 deletions

View File

@ -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;