From d9fa18124ac2949692952138c50b72e35bc7efd4 Mon Sep 17 00:00:00 2001 From: arcadez2003 <51386955+arcadez2003@users.noreply.github.com> Date: Tue, 10 Oct 2023 21:02:19 +0100 Subject: [PATCH] Sprite fix for Contra / Gryzor --- src/vidhrdw/contra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vidhrdw/contra.c b/src/vidhrdw/contra.c index 7884e5a01..23b8566a8 100644 --- a/src/vidhrdw/contra.c +++ b/src/vidhrdw/contra.c @@ -245,9 +245,9 @@ WRITE8_HANDLER( contra_K007121_ctrl_1_w ) if (offset == 3) { if ((data&0x8)==0) - memcpy(private_spriteram_2,spriteram+0x2800,0x800); + memcpy(private_spriteram_2,spriteram_2+0x800,0x800); else - memcpy(private_spriteram_2,spriteram+0x2000,0x800); + memcpy(private_spriteram_2,spriteram_2+0x000,0x800); } if (offset == 6) {