mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
File system refactor, bug fixes
This commit is contained in:
@@ -70,12 +70,7 @@ namespace PortabilityLayer
|
||||
if (!m_file)
|
||||
return false;
|
||||
|
||||
return fseek(m_file, static_cast<long>(loc), SEEK_END) == 0;
|
||||
}
|
||||
|
||||
bool CFileStream::Truncate(GpUFilePos_t loc)
|
||||
{
|
||||
return false;
|
||||
return fseek(m_file, -static_cast<long>(loc), SEEK_END) == 0;
|
||||
}
|
||||
|
||||
GpUFilePos_t CFileStream::Tell() const
|
||||
|
||||
Reference in New Issue
Block a user