src/SDL12_compat.c
changeset 83 3dc6727acc6b
parent 82 c5f7371d4fcc
child 84 df9e8ff61b45
     1.1 --- a/src/SDL12_compat.c	Thu Feb 21 02:31:37 2019 -0500
     1.2 +++ b/src/SDL12_compat.c	Thu Feb 21 02:39:28 2019 -0500
     1.3 @@ -834,6 +834,17 @@
     1.4      return retval;
     1.5  }
     1.6  
     1.7 +DECLSPEC void * SDLCALL
     1.8 +SDL_revcpy(void *dst, const void *src, size_t len)
     1.9 +{
    1.10 +    /* this doesn't reverse the data...I think this was just a memcpy that
    1.11 +       was meant to be CPU-cache friendly if you knew you were working with
    1.12 +       data going backwards in memory, instead of jumping over pages to copy
    1.13 +       from the start...? Whatever, just do a memcpy here. */
    1.14 +    return SDL_memcpy(dst, src, len);
    1.15 +}
    1.16 +
    1.17 +
    1.18  DECLSPEC SDL_bool SDLCALL
    1.19  SDL_HasMMXExt(void)
    1.20  {