Skip to content

Commit

Permalink
don't allow initial cart reset to be cut short #781
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardner-Stephen committed Feb 18, 2024
1 parent e63d5d8 commit e6c2660
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vhdl/expansion_port_controller.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ begin
report "Asserting RESET on cartridge port";
cart_reset <= '0';
cart_reset_int <= '0';
reset_counter <= 15;
if reset_counter /= 0 then
reset_counter <= 15;
end if;
cpu_exrom <= '1';
cpu_game <= '1';
end if;
Expand Down

0 comments on commit e6c2660

Please sign in to comment.