felixjones / gba-toolchain

CMake based toolchain for GBA homebrew development
Other
123 stars 11 forks source link

__aeabi_memmove #20

Closed felixjones closed 3 years ago

felixjones commented 3 years ago

Logic would be:

void __aeabi_memmove(void *dest, const void *src, size_t n) {
  if ( dest >= source ) {
    __aeabi_memcpy( dest, source, n );
  } else {
    // TODO : Reverse copy
  }
}
felixjones commented 3 years ago

Now tracked https://github.com/felixjones/agbabi/issues/1