- got rid of FileSystem::GetFileData.

Using FMemFile is better in all these places.
This commit is contained in:
Christoph Oelckers 2023-08-19 16:49:07 +02:00
commit 5398045f7d
14 changed files with 50 additions and 84 deletions

View file

@ -237,7 +237,8 @@ void S_Init()
TArray<uint8_t> curve;
if (curvelump >= 0)
{
curve = fileSystem.GetFileData(curvelump);
curve.Resize(fileSystem.FileLength(curvelump));
fileSystem.ReadFile(curvelump, curve.Data());
}
soundEngine->Init(curve);
}