Skip to content
This repository was archived by the owner on Sep 4, 2023. It is now read-only.

Commit f51b7fd

Browse files
authored
Controller reset fix for some games that need a particular reset routine (Samurai Shodown) (#221)
* Fix a bug where games such as Samurai Shodown would not accept player input due to missing controller reset after having played certain other games (such as Micro Machines).
1 parent 433f71a commit f51b7fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rtl/gen_io.sv

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ always @(posedge RESET or posedge CLK) begin
341341

342342
if(RESET) begin
343343
DTACK_N <= 1;
344-
TH <= 0;
345-
JCNT <= 0;
344+
TH <= 1;
345+
JCNT <= 3;
346346
end
347347
else if(CE) begin
348348

0 commit comments

Comments
 (0)