aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/mt32/File.cpp')
-rwxr-xr-xaudio/softsynth/mt32/File.cpp4
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() {