mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 14:14:43 +00:00
Fixed crashing with wave file patches, a regression from commit #49391
svn-id: r49411
This commit is contained in:
parent
26860b8e51
commit
7f0b0a83ed
@ -168,6 +168,7 @@ void ResourceManager::readWaveAudioPatches() {
|
||||
int number = atoi(name.c_str());
|
||||
ResourceSource *psrcPatch = new ResourceSource;
|
||||
psrcPatch->source_type = kSourceWave;
|
||||
psrcPatch->resourceFile = 0;
|
||||
psrcPatch->location_name = name;
|
||||
psrcPatch->volume_number = 0;
|
||||
psrcPatch->audioCompressionType = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user