From 386f941d61aed8d6a8a5bc198d4a1a3d3236f469 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 2 Feb 2024 11:29:15 -0500 Subject: [PATCH] add comment --- src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp b/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp index 449fe0e9..0fc4fa6b 100644 --- a/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp +++ b/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp @@ -84,6 +84,8 @@ public: { GoTo(0); + // The checksum here is supposed to be a MD5 of the entire data portion of the file. However T6 does not validate this. + // As long as the values here match the values in the SndBank asset, everything loads fine SoundAssetBankChecksum checksum{}; memset(&checksum, 0xCC, sizeof(SoundAssetBankChecksum));