10 May
2013
10 May
'13
2:37 p.m.
Christian Costa <titan.costa(a)gmail.com> writes:
- if (strlen(target) != 6 || target[1] != 's' || target[2] != '_' || target[4] != '_') + for (i = 0; i < nb_targets; i++) { - FIXME("Unknown compilation target %s.\n", debugstr_a(target)); - return D3DERR_INVALIDCALL; + if (!strcmp(target, targets_info[i].name) || + (targets_info[i].altname && !strcmp(target, targets_info[i].altname)))
A binary search would be much better. -- Alexandre Julliard julliard(a)winehq.org