Source formatting
This commit is contained in:
parent
44c36ab0f2
commit
3fd026efa9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user