[Scummvm-git-logs] scummvm master -> 2482a78fa3809b5cb0ab6808253db286c0f8bcd6

csnover csnover at users.noreply.github.com
Thu Jun 8 07:18:17 CEST 2017


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

Summary:
2482a78fa3 SCI32: Fix wave resource patch offset


Commit: 2482a78fa3809b5cb0ab6808253db286c0f8bcd6
    https://github.com/scummvm/scummvm/commit/2482a78fa3809b5cb0ab6808253db286c0f8bcd6
Author: Colin Snover (github.com at zetafleet.com)
Date: 2017-06-08T00:14:45-05:00

Commit Message:
SCI32: Fix wave resource patch offset

This bug was only reproducible when loading a game using the
multi-disc RESSFX.00x bundles.

Fixes Trac#9832.

Changed paths:
    engines/sci/resource_audio.cpp


diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp
index 7553efa..7766ed6 100644
--- a/engines/sci/resource_audio.cpp
+++ b/engines/sci/resource_audio.cpp
@@ -200,7 +200,7 @@ void ResourceManager::processWavePatch(ResourceId resourceId, const Common::Stri
 	Common::File file;
 	file.open(name);
 
-	updateResource(resourceId, resSrc, file.size(), name);
+	updateResource(resourceId, resSrc, 0, file.size(), name);
 	_sources.push_back(resSrc);
 
 	debugC(1, kDebugLevelResMan, "Patching %s - OK", name.c_str());





More information about the Scummvm-git-logs mailing list