- strncpy(tmp, GetIsoFile(), sizeof(tmp));
- tmp[MAXPATHLEN - 1] = '\0';
- if (strlen(tmp) >= 4) {
- p = tmp + strlen(tmp) - 4;
+ strncpy(alt_bin_filename, bin_filename, sizeof(alt_bin_filename));
+ alt_bin_filename[MAXPATHLEN - 1] = '\0';
+ if (strlen(alt_bin_filename) >= 4) {
+ p = alt_bin_filename + strlen(alt_bin_filename) - 4;