Update mxdsfile.cpp

0xFFFFFFFF -> -1
This commit is contained in:
Mark Langen 2023-06-27 10:28:35 -07:00 committed by GitHub
parent c883d68e15
commit 564626fb69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ long MxDSFile::ReadChunks()
// OFFSET: LEGO1 0x100cc7b0
long MxDSFile::Seek(long lOffset, int iOrigin)
{
return (m_position = m_io.Seek(lOffset, iOrigin)) == 0xFFFFFFFF ? -1 : 0;
return (m_position = m_io.Seek(lOffset, iOrigin)) == -1 ? -1 : 0;
}
// OFFSET: LEGO1 0x100cc7e0
@ -127,4 +127,4 @@ long MxDSFile::Close()
m_pBuffer = NULL;
}
return 0;
}
}