Add Arto (RTO) support
This commit is contained in:
parent
eb8b854211
commit
bb1fba37a6
3 changed files with 17 additions and 2 deletions
|
@ -283,7 +283,8 @@ constexpr static const char *pow_variant_names[] = {
|
|||
"alloy",
|
||||
"xtl",
|
||||
"msr",
|
||||
"xhv"
|
||||
"xhv",
|
||||
"rto"
|
||||
};
|
||||
|
||||
Options *Options::parse(int argc, char **argv)
|
||||
|
@ -1034,6 +1035,11 @@ bool Options::parsePowVariant(const char *powVariant)
|
|||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(pow_variant_names) - 1 && !strcmp(powVariant, "arto")) {
|
||||
m_powVariant = POW_RTO;
|
||||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(pow_variant_names) - 1) {
|
||||
showUsage(1);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue