mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-26 18:53:24 +00:00
Add tga filename detection.
This commit is contained in:
parent
325b04847e
commit
baced12633
1 changed files with 3 additions and 0 deletions
|
@ -262,6 +262,9 @@ EImageFileFormat ImageFile::DetectFileFormat(const CHAR *filename) {
|
|||
else if(strcmp(ext, ".pvr") == 0) {
|
||||
return eFileFormat_PVR;
|
||||
}
|
||||
else if(strcmp(ext, ".tga") == 0) {
|
||||
return eFileFormat_TGA;
|
||||
}
|
||||
|
||||
return kNumImageFileFormats;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue