mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-27 22:14:16 +01:00
Add tga filename detection.
This commit is contained in:
parent
325b04847e
commit
baced12633
@ -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 New Issue
Block a user