mirror of https://github.com/libAthena/athena.git
* Added filepath implementation in BinaryReader
This commit is contained in:
parent
da7781f78e
commit
c0974d511a
|
@ -149,6 +149,16 @@ Uint8* BinaryReader::data() const
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void BinaryReader::setFilepath(const std::string& filepath)
|
||||||
|
{
|
||||||
|
m_filepath = filepath;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string BinaryReader::filepath() const
|
||||||
|
{
|
||||||
|
return m_filepath;
|
||||||
|
}
|
||||||
|
|
||||||
void BinaryReader::seekBit(int bit)
|
void BinaryReader::seekBit(int bit)
|
||||||
{
|
{
|
||||||
if (!m_data)
|
if (!m_data)
|
||||||
|
|
Loading…
Reference in New Issue