diff --git a/src/Athena/FileReader.cpp b/src/Athena/FileReader.cpp index ce4eb2c..4a803e8 100644 --- a/src/Athena/FileReader.cpp +++ b/src/Athena/FileReader.cpp @@ -20,8 +20,8 @@ FileReader::FileReader(const std::string& filename, atInt32 cacheSize) m_cacheData(nullptr), m_offset(0) { - setCacheSize(cacheSize); open(); + setCacheSize(cacheSize); } FileReader::~FileReader()