Source formatting

This commit is contained in:
Jordan Cristiano 2015-06-14 17:05:20 -04:00
parent 44c36ab0f2
commit 3fd026efa9

View File

@ -10,6 +10,11 @@ DemoFileReader::DemoFileReader(FILE* fp):
{
}
void DemoFileReader::ReadDemoHeader(demoheader_t& header)
{
fread(&header, sizeof(demoheader_t), 1, m_demoFp);
}
int32_t DemoFileReader::ReadRawData(uint8_t* buffer, int32_t maxLength)
{
FILE* fp = m_demoFp;
@ -102,11 +107,6 @@ void DemoFileWriter::WriteDemoHeader(const demoheader_t& header)
fwrite(&header, sizeof(demoheader_t), 1, m_demoFp);
}
void DemoFileReader::ReadDemoHeader(demoheader_t& header)
{
fread(&header, sizeof(demoheader_t), 1, m_demoFp);
}
void DemoFileWriter::WriteRawData(const uint8_t* buffer, int32_t length)
{
FILE* fp = m_demoFp;