isle-portable/LEGO1/mxdssource.cpp

22 lines
373 B
C++
Raw Normal View History

#include "mxdssource.h"
2023-10-24 19:38:27 -04:00
#include "mxdsbuffer.h"
// OFFSET: LEGO1 0x100bffd0
void MxDSSource::ReadToBuffer(MxDSBuffer* p_buffer)
{
Read(p_buffer->GetBuffer(), p_buffer->GetWriteOffset());
}
// OFFSET: LEGO1 0x100bfff0
MxLong MxDSSource::GetLengthInDWords()
{
2023-10-24 19:38:27 -04:00
return m_lengthInDWords;
}
// OFFSET: LEGO1 0x100c0000
2023-10-24 19:38:27 -04:00
MxU32* MxDSSource::GetBuffer()
{
2023-10-24 19:38:27 -04:00
return m_pBuffer;
}