mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-12-02 20:34:17 +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) {
|
else if(strcmp(ext, ".pvr") == 0) {
|
||||||
return eFileFormat_PVR;
|
return eFileFormat_PVR;
|
||||||
}
|
}
|
||||||
|
else if(strcmp(ext, ".tga") == 0) {
|
||||||
|
return eFileFormat_TGA;
|
||||||
|
}
|
||||||
|
|
||||||
return kNumImageFileFormats;
|
return kNumImageFileFormats;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user