mirror of
https://github.com/libAthena/athena.git
synced 2025-12-10 05:57:57 +00:00
* Change Athena::utility::fileSize to use stat64 instead of ftello
* Fix output of ftello64 in win32_largefilewrapper
This commit is contained in:
@@ -119,7 +119,7 @@ atUint64 FileReader::length() const
|
||||
if (!isOpen())
|
||||
THROW_INVALID_OPERATION_EXCEPTION("File not open");
|
||||
|
||||
return utility::fileSize(m_fileHandle);
|
||||
return utility::fileSize(m_filename);
|
||||
}
|
||||
|
||||
void FileReader::seekBit(int bit)
|
||||
|
||||
Reference in New Issue
Block a user