Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/coolgirl-multicart/coolgirl-famicom-multicart.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-04-25 18:35:17 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-04-25 18:35:17 +0300
commit29c4184e4e8c27d5926f38891d448cbfa3d92c28 (patch)
tree7130b10abe96de5f3a6b14161ed4aae5e92fb426
parent38a76d8163f4a3ce21b1025c19ffc7b4d828eb69 (diff)
VRC4 interrupts fix
-rw-r--r--CoolGirl_mappers.vh2
1 files changed, 1 insertions, 1 deletions
diff --git a/CoolGirl_mappers.vh b/CoolGirl_mappers.vh
index 5f7f0d8..24c6882 100644
--- a/CoolGirl_mappers.vh
+++ b/CoolGirl_mappers.vh
@@ -1054,7 +1054,7 @@ begin
2'b01: vrc4_irq_latch[7:4] <= cpu_data_in[3:0]; // IRQ latch hi
2'b10: begin // IRQ control
vrc4_irq_out <= 0; // ack
- vrc4_irq_control[2:0] <= cpu_data_in[2:0]; // mode, enabled, enabled after ack
+ vrc4_irq_control[2:0] = cpu_data_in[2:0]; // mode, enabled, enabled after ack
if (vrc4_irq_control[1]) begin // if E is set
vrc4_irq_prescaler_counter[1:0] <= 2'b00; // reset prescaler
vrc4_irq_prescaler[6:0] <= 7'b0000000;