felixjones / gba-toolchain

CMake based toolchain for GBA homebrew development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

__aeabi_memmove

felixjones opened this issue · comments

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
  }
}