mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
cleanup: remove low hanging LibraryDatabase.* nonsense
This commit is contained in:
committed by
majcosta
parent
bbfd88c414
commit
916893ff66
@@ -409,30 +409,3 @@ BOOLEAN PerformTimeLimitedCheck()
|
||||
return( TRUE );
|
||||
#endif
|
||||
}
|
||||
|
||||
BOOLEAN DoJA2FilesExistsOnDrive( CHAR8 *zCdLocation )
|
||||
{
|
||||
BOOLEAN fFailed = FALSE;
|
||||
CHAR8 zCdFile[ SGPFILENAME_LEN ];
|
||||
INT32 cnt;
|
||||
HWFILE hFile;
|
||||
|
||||
for ( cnt = 0; cnt < 4; cnt++ )
|
||||
{
|
||||
// OK, build filename
|
||||
sprintf( zCdFile, "%s%s", zCdLocation, gCheckFilenames[ cnt ] );
|
||||
|
||||
hFile = FileOpen( zCdFile, FILE_ACCESS_READ | FILE_OPEN_EXISTING, FALSE );
|
||||
|
||||
// Check if it exists...
|
||||
if ( !hFile )
|
||||
{
|
||||
fFailed = TRUE;
|
||||
FileClose( hFile );
|
||||
break;
|
||||
}
|
||||
FileClose( hFile );
|
||||
}
|
||||
|
||||
return( !fFailed );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user