diff options
author | Willem Jan Palenstijn | 2017-02-27 12:32:06 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-02-28 18:40:04 +0100 |
commit | 867511d2d0a5d063e37b07115b8b98f5930d415b (patch) | |
tree | 2fd96da5f26b8320b8c3524a2acb20f37c59e61c /audio/softsynth/mt32/File.cpp | |
parent | e2a72393d298a5c338e55b73ae910c9ef4e1b45e (diff) | |
download | scummvm-rg350-867511d2d0a5d063e37b07115b8b98f5930d415b.tar.gz scummvm-rg350-867511d2d0a5d063e37b07115b8b98f5930d415b.tar.bz2 scummvm-rg350-867511d2d0a5d063e37b07115b8b98f5930d415b.zip |
MT32: Update Munt to 2.0.3
This update uses upstream commit
777c51cdb4dbb4e02a53c23edea9086f0b600e26.
The new SampleRateConverter is added, but not built as we don't use it.
Also, building it without source changes will need additional include
directories.
This update of Munt reduces the stack size, and thus fixes bug #9630.
Diffstat (limited to 'audio/softsynth/mt32/File.cpp')
-rwxr-xr-x | audio/softsynth/mt32/File.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/softsynth/mt32/File.cpp b/audio/softsynth/mt32/File.cpp index 333230b61c..07164823d3 100755 --- a/audio/softsynth/mt32/File.cpp +++ b/audio/softsynth/mt32/File.cpp @@ -26,11 +26,15 @@ namespace MT32Emu { AbstractFile::AbstractFile() : sha1DigestCalculated(false) { sha1Digest[0] = 0; + + reserved = NULL; } AbstractFile::AbstractFile(const SHA1Digest &useSHA1Digest) : sha1DigestCalculated(true) { memcpy(sha1Digest, useSHA1Digest, sizeof(SHA1Digest) - 1); sha1Digest[sizeof(SHA1Digest) - 1] = 0; // Ensure terminator char. + + reserved = NULL; } const File::SHA1Digest &AbstractFile::getSHA1() { |