mirror of https://github.com/libAthena/athena.git
Downgrade aggressive fatal to error
This commit is contained in:
parent
c7c4909e33
commit
aa94bdadc4
|
@ -104,7 +104,7 @@ atUint8* MemoryReader::data() const {
|
|||
atUint64 MemoryReader::readUBytesToBuf(void* buf, atUint64 length) {
|
||||
if (m_position >= m_length) {
|
||||
if (m_globalErr)
|
||||
atFatal(FMT_STRING("Position {:08X} outside stream bounds "), m_position);
|
||||
atError(FMT_STRING("Position {:08X} outside stream bounds "), m_position);
|
||||
m_position = m_length;
|
||||
setError();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue