Merge pull request #7 from usagirei/master
Fix SMDH Header being Cleared
This commit is contained in:
commit
55f34cfc54
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue