mirror of
https://github.com/ole00/afterburner.git
synced 2025-01-15 08:29:45 +00:00
Do not match unknown gal
This commit is contained in:
parent
cd410666f0
commit
4145612445
@ -207,7 +207,7 @@ static int8_t verifyArgs(char* type) {
|
||||
printf("Error: missing GAL type. Use -t <type> to specify.\n");
|
||||
return -1;
|
||||
} else if (0 != type) {
|
||||
for (int i = 0; i < sizeof(galinfo) / sizeof(galinfo[0]); i++) {
|
||||
for (int i = 1; i < sizeof(galinfo) / sizeof(galinfo[0]); i++) {
|
||||
if (strcmp(type, galinfo[i].name) == 0) {
|
||||
gal = galinfo[i].type;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user