A nuke wasn't required after all

svn-id: r9630
This commit is contained in:
Travis Howell 2003-08-11 02:06:35 +00:00
parent 117b7d0061
commit 02d8fa584d

View File

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