3ds: use arm-mem memcpy
authornotaz <notasas@gmail.com>
Wed, 23 Oct 2024 23:23:27 +0000 (02:23 +0300)
committernotaz <notasas@gmail.com>
Thu, 24 Oct 2024 23:50:18 +0000 (02:50 +0300)
newlib's memcpy isn't that great

Makefile.libretro

index e1fadde..c26cc55 100644 (file)
@@ -358,9 +358,10 @@ else ifeq ($(platform), ctr)
        CFLAGS += -DZ7_DECL_Int32_AS_long
        CFLAGS += -DUSE_CTRULIB_2
 
+       OBJS += deps/arm-mem/memcpymove-v6l.o
+       OBJS += deps/arm-mem/memset-v6l.o
        OBJS += frontend/3ds/utils.o
 
-#      CFLAGS += -DPCSX
        BUILTIN_GPU = unai
        THREAD_RENDERING = 1
        DYNAREC = ari64