Ticket #7967: resource.patch

File resource.patch, 440 bytes (added by aquadran, 22 years ago)

resource.cpp

Line 
1559a560,573
2> if (_gameId == GID_DIG) {
3> switch (basetag) {
4> case MKID('iMUS'):
5> fileSeek(_fileHandle, -8, SEEK_CUR);
6> fileRead(_fileHandle, createResource(type, idx, total_size + 8),
7> total_size + 8);
8> return 1;
9> default:
10> warning("Unrecognized basetag %c%c%c%c in sound %d",
11> basetag & 0xff, basetag >> 8, basetag >> 16, basetag >> 24, idx);
12> return 0;
13> }
14> }
15>