Skip to content

Commit

Permalink
remove tif extension hack
Browse files Browse the repository at this point in the history
  • Loading branch information
HailSanta authored and HailSanta committed Apr 25, 2024
1 parent ff15905 commit f4edcfe
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/model.c
Original file line number Diff line number Diff line change
Expand Up @@ -2149,14 +2149,6 @@ void load_texture_by_name(ModelNodeProperty* propertyName, s32 romOffset, s32 si
break;
}

// try appending "tif" - this is a common issue with textures ported from Star Rod mods
char tifName[32];
strcpy(tifName, textureName);
strcat(tifName, "tif");
if (strcmp(tifName, header->name) == 0) {
break;
}

textureIdx++;
mainSize = rasterSize + paletteSize + sizeof(*header);
romOffset += mainSize;
Expand Down

0 comments on commit f4edcfe

Please sign in to comment.