From fa41ec7f16d729da9a3fb15190063f96dab9dd98 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 12 Nov 2021 20:28:27 -0500 Subject: [PATCH] Always decompress OGGs updated by plUruLauncher. This prevents users from needing to manually delete files from their streamingCache folder when an audio file is updated. Note that this will not fix streamingCaches that are already in a borked state. --- Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp b/Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp index 596c4d41..2ee771f5 100644 --- a/Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp +++ b/Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp @@ -329,9 +329,9 @@ static void DecompressOgg (ManifestFile *mf) { } if (hsCheckBits(flags, plManifestFile::kSndFlagCacheSplit)) - plAudioFileReader::CacheFile(path, true, true); + plAudioFileReader::CacheFile(path, true, false); if (hsCheckBits(flags, plManifestFile::kSndFlagCacheStereo)) - plAudioFileReader::CacheFile(path, false, true); + plAudioFileReader::CacheFile(path, false, false); } break; }