mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
EOL fix
This commit is contained in:
@@ -38,7 +38,7 @@ namespace PortabilityLayer
|
||||
|
||||
inline GpIOStream *PortabilityLayer::HostFileSystem::OpenFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path, bool writeAccess, GpFileCreationDisposition_t createDisposition)
|
||||
{
|
||||
return this->OpenFileNested(virtualDirectory, &path, 1, writeAccess, createDisposition);
|
||||
return this->OpenFileNested(virtualDirectory, &path, 1, writeAccess, createDisposition);
|
||||
}
|
||||
|
||||
inline PortabilityLayer::HostDirectoryCursor *PortabilityLayer::HostFileSystem::ScanDirectory(VirtualDirectory_t virtualDirectory)
|
||||
|
@@ -7,7 +7,7 @@ DecompressorProxyReader::DecompressorProxyReader(IDecompressor *decompressor)
|
||||
, m_currentPosition(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
size_t DecompressorProxyReader::Read(void *buffer, size_t sz)
|
||||
{
|
||||
if (!m_decompressor->ReadBytes(buffer, sz))
|
||||
@@ -15,29 +15,29 @@ size_t DecompressorProxyReader::Read(void *buffer, size_t sz)
|
||||
|
||||
m_currentPosition += sz;
|
||||
|
||||
return sz;
|
||||
return sz;
|
||||
}
|
||||
|
||||
|
||||
size_t DecompressorProxyReader::FileSize() const
|
||||
{
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
bool DecompressorProxyReader::SeekStart(FilePos_t pos)
|
||||
{
|
||||
return pos == m_currentPosition;
|
||||
return pos == m_currentPosition;
|
||||
}
|
||||
|
||||
|
||||
bool DecompressorProxyReader::SeekCurrent(FilePos_t pos)
|
||||
{
|
||||
return pos == 0;
|
||||
return pos == 0;
|
||||
}
|
||||
|
||||
|
||||
bool DecompressorProxyReader::SeekEnd(FilePos_t pos)
|
||||
{
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
IFileReader::FilePos_t DecompressorProxyReader::GetPosition() const
|
||||
{
|
||||
return m_currentPosition;
|
||||
|
Reference in New Issue
Block a user