mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
filesystem: VFileSystem009: HL25 compatibility (one single new method)
This commit is contained in:
@@ -233,6 +233,13 @@ public:
|
||||
return FS_FileTime( p, false );
|
||||
}
|
||||
|
||||
long int GetFileModificationTime( const char *path )
|
||||
{
|
||||
// TODO: properly reverse-engineer this
|
||||
FixupPath( p, path );
|
||||
return FS_FileTime( p, false );
|
||||
}
|
||||
|
||||
void FileTimeToString( char *p, int size, long int time ) override
|
||||
{
|
||||
const time_t curtime = time;
|
||||
|
||||
Reference in New Issue
Block a user