(svn r624) Merge r377 to trunk:

Remove the memmove special case for MSVC
According to the MSDN it was just plain wrong and memmove was directly used in some places anyway
This commit is contained in:
tron
2004-11-15 10:31:48 +00:00
parent 01e88bb61d
commit 57c472e093
5 changed files with 8 additions and 14 deletions

View File

@@ -524,7 +524,7 @@ static void CompactSpriteCache()
_sprite_ptr[i] -= size;
// Move the memory
memcpy_overlapping(s+S_HDRSIZE, s+S_HDRSIZE+size, sizeb - S_HDRSIZE );
memmove(s + S_HDRSIZE, s + S_HDRSIZE + size, sizeb - S_HDRSIZE);
// What we just did had the effect of swapping the allocated block with the free block, so we need to update
// the block pointers. First update the allocated one. It is in use.