[Scummvm-cvs-logs] scummvm-tools master -> eaf600d02470bb69fbbb1302170d51c310cfb6a3

Strangerke Strangerke at scummvm.org
Mon Jan 4 14:07:32 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .

Summary:
eaf600d024 TOOLS: Update progress bar in CompressTonyVDB


Commit: eaf600d02470bb69fbbb1302170d51c310cfb6a3
    https://github.com/scummvm/scummvm-tools/commit/eaf600d02470bb69fbbb1302170d51c310cfb6a3
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-01-04T14:01:22+01:00

Commit Message:
TOOLS: Update progress bar in CompressTonyVDB

Changed paths:
    engines/tony/compress_tony_vdb.cpp



diff --git a/engines/tony/compress_tony_vdb.cpp b/engines/tony/compress_tony_vdb.cpp
index 6b54472..431ddfd 100644
--- a/engines/tony/compress_tony_vdb.cpp
+++ b/engines/tony/compress_tony_vdb.cpp
@@ -174,6 +174,9 @@ void CompressTonyVDB::execute() {
 	_output_enc.open(outpath_enc, "wb");
 
 	for (int i = 0; i < numFiles; i++) {
+		// Update progress
+		updateProgress(i, numFiles);
+
 		_input_vdb.seek(vh[i]._offset, SEEK_SET);
 
 		for (int j = 0; j < vh[i]._parts; j++) {






More information about the Scummvm-git-logs mailing list