26 m_TrackingPriority(Dynamic),
34 if (m_SROMData !=
nullptr)
44 if (filename ==
nullptr)
46 if (filename[0] ==
'\0')
50 std::basic_ifstream<char> file;
52 if (file.is_open() ==
false)
55 file.seekg (0, std::ios::end);
56 unsigned int newLength = file.tellg();
57 file.seekg (0, std::ios::beg);
58 auto newData =
new char [newLength];
59 file.read(newData, newLength);
61 if (file.fail() ==
true)
66 if (m_SROMData !=
nullptr)
68 m_SROMDataLength = newLength;
69 m_SROMData = (
unsigned char*) newData;
83 return m_SROMDataLength;
static const std::string filename
static bool in(Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)