mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
A nuke wasn't required after all
svn-id: r9630
This commit is contained in:
parent
117b7d0061
commit
02d8fa584d
@ -921,7 +921,6 @@ int Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
|
||||
if (music_type != 0x80) {
|
||||
// It's an SFX; we don't know how to handle those yet
|
||||
debug(4, "Sound %d not played, format not yet supported", idx);
|
||||
nukeResource(type, idx);
|
||||
res.roomoffs[type][idx] = 0xFFFFFFFF;
|
||||
return 0;
|
||||
}
|
||||
@ -947,8 +946,6 @@ int Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
|
||||
|
||||
track = src_ptr;
|
||||
|
||||
// Now nuke the old resource, and replace it with a new one
|
||||
nukeResource(type, idx);
|
||||
int total_size = 8 + 16 + 14 + 8 + 7 + 8*sizeof(ADLIB_INSTR_MIDI_HACK) + size;
|
||||
total_size += 24; // Up to 24 additional bytes are needed for the jump sysex
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user