From 63990e6f1ec20ce4805e3ccbbc3ec7dab214ef4c Mon Sep 17 00:00:00 2001 From: Gyorgy Szombathelyi Date: Sun, 21 Apr 2019 19:09:07 +0200 Subject: [PATCH] [C64] Fix 4-player interface fire buttons --- cores/c64/rtl/mist/c64_mist.vhd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cores/c64/rtl/mist/c64_mist.vhd b/cores/c64/rtl/mist/c64_mist.vhd index 1f1055d..98dfe8b 100644 --- a/cores/c64/rtl/mist/c64_mist.vhd +++ b/cores/c64/rtl/mist/c64_mist.vhd @@ -1131,10 +1131,12 @@ begin UART_TX <= '0'; pb_in(7 downto 6) <= pb_out(7 downto 6); if pb_out(7) = '1' then - pb_in(5 downto 0) <= not joyC_c64(5 downto 0); + pb_in(3 downto 0) <= not joyC_c64(3 downto 0); else - pb_in(5 downto 0) <= not joyD_c64(5 downto 0); + pb_in(3 downto 0) <= not joyD_c64(3 downto 0); end if; + pb_in(4) <= not joyC_c64(4); + pb_in(5) <= not joyD_c64(4); else -- UART pb_in(7 downto 1) <= pb_out(7 downto 1);