Added code to handle the special case of a zero-length move.

Added more tests of memcpy() and memmove().
This commit is contained in:
Greg King
2015-11-02 17:04:46 -05:00
parent 281dc33e5a
commit 8180ac20d3
3 changed files with 34 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
.PHONY: all clean test
all: conio.pce
@@ -5,9 +6,7 @@ conio.pce: conio.c
../../../bin/cl65 -t pce conio.c --mapfile conio.map -o conio.pce
clean:
$(RM) conio.pce
$(RM) conio.map
$(RM) conio.o conio.pce conio.map
test: conio.pce
mednafen -force_module pce conio.pce