minor frontend fixes

This commit is contained in:
notaz 2013-07-14 00:05:19 +03:00
parent 27e2627380
commit d438a8dd8e
3 changed files with 9 additions and 1 deletions

View file

@ -34,7 +34,9 @@ void parse_cmd_line(int argc, char *argv[])
if (strcasecmp(argv[x], "-config") == 0) {
if (x+1 < argc) { ++x; PicoConfigFile = argv[x]; }
}
else if (strcasecmp(argv[x], "-loadstate") == 0) {
else if (strcasecmp(argv[x], "-loadstate") == 0
|| strcasecmp(argv[x], "-load") == 0)
{
if (x+1 < argc) { ++x; load_state_slot = atoi(argv[x]); }
}
else if (strcasecmp(argv[x], "-pdb") == 0) {