Add loading/saving messages to update utility.

This commit is contained in:
Bartosz Taudul 2019-09-29 20:48:18 +02:00
parent d228bcb622
commit 947eb56f3d

View File

@ -42,6 +42,8 @@ int main( int argc, char** argv )
const char* input = argv[1];
const char* output = argv[2];
printf( "Loading...\r" );
fflush( stdout );
auto f = std::unique_ptr<tracy::FileRead>( tracy::FileRead::Open( input ) );
if( !f )
{
@ -65,6 +67,8 @@ int main( int argc, char** argv )
fprintf( stderr, "Cannot open output file!\n" );
exit( 1 );
}
printf( "Saving... \r" );
fflush( stdout );
worker.Write( *w );
inVer = worker.GetTraceVersion();
}