From 591231f90e8620e7b7d89eb79a43f481642ab42f Mon Sep 17 00:00:00 2001 From: Gehstock Date: Sat, 18 Jan 2020 19:47:27 +0100 Subject: [PATCH] remove one extra wrong sprite visible in level 2 --- .../Nintendo Popeye Hardware/Popeye_MiST/rtl/popeye.vhd | 2 +- .../SkySkipper_MiST/rtl/SkySkipper.vhd | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Arcade_MiST/Nintendo Popeye Hardware/Popeye_MiST/rtl/popeye.vhd b/Arcade_MiST/Nintendo Popeye Hardware/Popeye_MiST/rtl/popeye.vhd index 6269734c..b2b5154b 100644 --- a/Arcade_MiST/Nintendo Popeye Hardware/Popeye_MiST/rtl/popeye.vhd +++ b/Arcade_MiST/Nintendo Popeye Hardware/Popeye_MiST/rtl/popeye.vhd @@ -469,7 +469,7 @@ begin if hcnt(0) = '0' then wram_do_r <= wram_do; end if; if move_buf = '0' and read_buf ='0' then - sp_ram_addr <= (others => '0'); + sp_ram_addr <= "00" & X"04"; if hcnt = 1 and pix_ena = '1' then if (vcnt = 500 and tv15Khz_mode = '0') or (vcnt = 250 and tv15Khz_mode = '1') then diff --git a/Arcade_MiST/Nintendo Popeye Hardware/SkySkipper_MiST/rtl/SkySkipper.vhd b/Arcade_MiST/Nintendo Popeye Hardware/SkySkipper_MiST/rtl/SkySkipper.vhd index 7e00bc85..4df8c54c 100644 --- a/Arcade_MiST/Nintendo Popeye Hardware/SkySkipper_MiST/rtl/SkySkipper.vhd +++ b/Arcade_MiST/Nintendo Popeye Hardware/SkySkipper_MiST/rtl/SkySkipper.vhd @@ -468,8 +468,7 @@ begin if hcnt(0) = '0' then wram_do_r <= wram_do; end if; if move_buf = '0' and read_buf ='0' then - sp_ram_addr <= (others => '0'); - + sp_ram_addr <= "00" & X"04"; if hcnt = 1 and pix_ena = '1' then if (vcnt = 500 and tv15Khz_mode = '0') or (vcnt = 250 and tv15Khz_mode = '1') then move_buf <= '1';