Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed tabs and DOS endlines from SDL_blit_copy.c ...
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 29, 2011
1 parent 6f8718f commit dfa2f9b
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions src/video/SDL_blit_copy.c
Expand Up @@ -61,22 +61,21 @@ SDL_memcpyMMX(Uint8 * dst, const Uint8 * src, int len)
{
int i;

__m64* d64 = (__m64*)dst;
__m64* s64 = (__m64*)src;

for(i= len / 64; i--;) {

d64[0] = s64[0];
d64[1] = s64[1];
d64[2] = s64[2];
d64[3] = s64[3];
d64[4] = s64[4];
d64[5] = s64[5];
d64[6] = s64[6];
d64[7] = s64[7];

d64 += 8;
s64 += 8;
__m64* d64 = (__m64*)dst;
__m64* s64 = (__m64*)src;

for(i= len / 64; i--;) {
d64[0] = s64[0];
d64[1] = s64[1];
d64[2] = s64[2];
d64[3] = s64[3];
d64[4] = s64[4];
d64[5] = s64[5];
d64[6] = s64[6];
d64[7] = s64[7];

d64 += 8;
s64 += 8;
}

if (len & 63)
Expand Down

0 comments on commit dfa2f9b

Please sign in to comment.