- cleaned out the remaining wrappers from cache1d.h and use the file system directly instead.

This commit is contained in:
Christoph Oelckers 2019-12-07 10:49:23 +01:00
parent 30cbcb54b1
commit 0342b96335
24 changed files with 34 additions and 49 deletions

View file

@ -292,7 +292,8 @@ static char* KeyValues_FindKeyValue(char **vdfbuf, char * const vdfbufend, const
void Paths_ParseSteamKeyValuesForPaths(const char *vdf, SteamPathParseFunc func)
{
FileReader fr = fopenFileReader(vdf, 0);
FileReader fr;
if (!fr.OpenFile(vdf)) return;
auto size = fr.GetLength();
char *vdfbuf, *vdfbufend;