mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 11:15:00 +00:00
Fixed leak when loading sounds for Amiga version of Nippon Safes.
svn-id: r32756
This commit is contained in:
parent
d2ce912989
commit
4e2e46f16c
@ -1395,9 +1395,7 @@ Common::ReadStream* AmigaDisk_ns::loadSound(const char* name) {
|
||||
char path[PATH_LEN];
|
||||
sprintf(path, "%s.snd", name);
|
||||
|
||||
openArchivedFile(path);
|
||||
|
||||
return new DummyArchiveStream(_resArchive);
|
||||
return openArchivedFile(path);
|
||||
}
|
||||
|
||||
} // namespace Parallaction
|
||||
|
Loading…
Reference in New Issue
Block a user