From b537f5804d56fc0ec70c90b7278d1d2e37e233b5 Mon Sep 17 00:00:00 2001 From: "Alex W. Jackson" Date: Sun, 6 Nov 2011 20:44:27 +0000 Subject: [PATCH] neogeo.c: fixed kof98 on non-Windows builds [Alex Jackson] --- src/mame/machine/neocrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/machine/neocrypt.c b/src/mame/machine/neocrypt.c index 49fb9f4a55e..9659bb6c582 100644 --- a/src/mame/machine/neocrypt.c +++ b/src/mame/machine/neocrypt.c @@ -994,7 +994,7 @@ void kof98_decrypt_68k(running_machine &machine) memcpy( &src[i+0x000100], &dst[i+0x000100], 2 ); memcpy( &src[i+0x000102], &dst[i+0x100100], 2 ); } - memcpy( &src[0x100000], &src[0x200000], 0x400000 ); + memmove( &src[0x100000], &src[0x200000], 0x400000 ); auto_free(machine, dst); }