Merge pull request #5720 from JosJuice/file-metadata

FileUtil: Redesign Exists/IsDirectory/GetSize
This commit is contained in:
Leo Lam
2017-07-11 00:28:34 +02:00
committed by GitHub
21 changed files with 175 additions and 177 deletions

View File

@ -424,7 +424,7 @@ void TextureCacheBase::DumpTexture(TCacheEntry* entry, std::string basename, uns
std::string szDir = File::GetUserPath(D_DUMPTEXTURES_IDX) + SConfig::GetInstance().GetGameID();
// make sure that the directory exists
if (!File::Exists(szDir) || !File::IsDirectory(szDir))
if (!File::IsDirectory(szDir))
File::CreateDir(szDir);
if (level > 0)