2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

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.

(cherry picked from commit fa41ec7f16)
This commit is contained in:
2021-11-12 20:28:27 -05:00
committed by rarified
parent e8e9cd29ee
commit 2160831221

View File

@ -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;
}