diff -u --rec -N --exclude=CVS scummvm.old/kyra/codecs.cpp scummvm/kyra/codecs.cpp
old
|
new
|
|
83 | 83 | copyp = (const uint8*)&image_out[READ_LE_UINT16(readp)]; |
84 | 84 | readp += 2; |
85 | 85 | |
86 | | memcpy(writep, copyp, count); |
87 | | writep += count; |
88 | | copyp += count; |
| 86 | // strange sometimes I got segfaults with it sometimes not |
| 87 | //memmove(writep, copyp, count); |
| 88 | //writep += count; |
| 89 | //copyp += count; |
| 90 | while (count--) |
| 91 | *writep++ = *copyp++; |
89 | 92 | } else if (count == 0x3e) { |
90 | 93 | //command 3 (11111110 c c v): fill |
91 | 94 | |