Merge pull request #7 from usagirei/master

Fix SMDH Header being Cleared
This commit is contained in:
Steven Smith 2016-06-10 09:41:59 -07:00 committed by GitHub
commit 55f34cfc54

View file

@ -441,8 +441,7 @@ int cmd_process_command(int argc, char* argv[]) {
}
SMDH smdh;
memset(&smdh, 0, sizeof(SMDH));
std::vector<std::string> regions = cmd_parse_list(cmd_find_arg(args, "r", "regions", "regionfree"));
for(std::vector<std::string>::iterator it = regions.begin(); it != regions.end(); it++) {
const std::string region = *it;
@ -536,4 +535,4 @@ int cmd_process_command(int argc, char* argv[]) {
cmd_invalid_command(command);
return -1;
}
}
}