Fix progress of loading CPU zones.

This commit is contained in:
Bartosz Taudul 2019-01-26 22:18:07 +01:00
parent 39680ad315
commit d86e36cc62

View File

@ -734,6 +734,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
uint64_t tsz; uint64_t tsz;
f.Read( tsz ); f.Read( tsz );
s_loadProgress.subTotal.store( td->count, std::memory_order_relaxed ); s_loadProgress.subTotal.store( td->count, std::memory_order_relaxed );
s_loadProgress.subProgress.store( 0, std::memory_order_relaxed );
if( tsz != 0 ) if( tsz != 0 )
{ {
if( fileVer <= FileVersion( 0, 4, 1 ) ) if( fileVer <= FileVersion( 0, 4, 1 ) )