Extra debug for the file writing.

This commit is contained in:
brendon 2020-06-15 08:47:58 -07:00
parent 97c278b229
commit 160fa4dbb6

View file

@ -3439,15 +3439,15 @@ idFile *idFileSystemLocal::OpenFileWrite( const char *relativePath, const char *
OSpath = BuildOSPath( path, gameFolder, relativePath ); OSpath = BuildOSPath( path, gameFolder, relativePath );
if ( fs_debug.GetInteger() ) { //if ( fs_debug.GetInteger() ) {
common->Printf( "idFileSystem::OpenFileWrite: %s\n", OSpath.c_str() ); common->Printf( "idFileSystem::OpenFileWrite: %s\n", OSpath.c_str() );
} //}
// if the dir we are writing to is in our current list, it will be outdated // if the dir we are writing to is in our current list, it will be outdated
// so just flush everything // so just flush everything
ClearDirCache(); ClearDirCache();
common->DPrintf( "writing to: %s\n", OSpath.c_str() ); common->Printf( "writing to: %s\n", OSpath.c_str() );
CreateOSPath( OSpath ); CreateOSPath( OSpath );
f = new idFile_Permanent(); f = new idFile_Permanent();