mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
ThreadCompress::Load() doesn't need fileVer.
This commit is contained in:
parent
f60e51c91b
commit
1c13c1ee8f
@ -18,7 +18,7 @@ void ThreadCompress::InitZero()
|
|||||||
m_threadExpand.push_back( 0 );
|
m_threadExpand.push_back( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
void ThreadCompress::Load( FileRead& f, int fileVer )
|
void ThreadCompress::Load( FileRead& f )
|
||||||
{
|
{
|
||||||
assert( m_threadExpand.empty() );
|
assert( m_threadExpand.empty() );
|
||||||
assert( m_threadMap.empty() );
|
assert( m_threadMap.empty() );
|
||||||
|
@ -20,7 +20,7 @@ public:
|
|||||||
ThreadCompress();
|
ThreadCompress();
|
||||||
|
|
||||||
void InitZero();
|
void InitZero();
|
||||||
void Load( FileRead& f, int fileVer );
|
void Load( FileRead& f );
|
||||||
void Save( FileWrite& f ) const;
|
void Save( FileWrite& f ) const;
|
||||||
|
|
||||||
tracy_force_inline uint16_t CompressThread( uint64_t thread )
|
tracy_force_inline uint16_t CompressThread( uint64_t thread )
|
||||||
|
@ -755,8 +755,8 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_data.localThreadCompress.Load( f, fileVer );
|
m_data.localThreadCompress.Load( f );
|
||||||
m_data.externalThreadCompress.Load( f, fileVer );
|
m_data.externalThreadCompress.Load( f );
|
||||||
|
|
||||||
f.Read( sz );
|
f.Read( sz );
|
||||||
for( uint64_t i=0; i<sz; i++ )
|
for( uint64_t i=0; i<sz; i++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user