mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
File: Make GetSize() a const member function
This commit is contained in:
parent
84ecc0ecc9
commit
f0308151a8
@ -85,7 +85,7 @@ void IOFile::SetHandle(std::FILE* file)
|
||||
m_file = file;
|
||||
}
|
||||
|
||||
u64 IOFile::GetSize()
|
||||
u64 IOFile::GetSize() const
|
||||
{
|
||||
if (IsOpen())
|
||||
return File::GetSize(m_file);
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
|
||||
bool Seek(s64 off, int origin);
|
||||
u64 Tell() const;
|
||||
u64 GetSize();
|
||||
u64 GetSize() const;
|
||||
bool Resize(u64 size);
|
||||
bool Flush();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user