Skip to content

Commit

Permalink
Merge pull request #397 from ogamespec/main
Browse files Browse the repository at this point in the history
Vblank interrupt fix
  • Loading branch information
ogamespec authored May 11, 2023
2 parents 3252220 + dfa600b commit d42e406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BreaksPPU/PPUSim/fsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ namespace PPUSim
TriState R2_Enable = NOR(n_R2, n_DBE);

edge_vset_latch1.set(n_VSET, PCLK);
edge_vset_latch2.set(edge_vset_latch1.get(), n_PCLK);
edge_vset_latch2.set(edge_vset_latch1.nget(), n_PCLK);
TriState setFF = NOR3(n_PCLK, n_VSET, edge_vset_latch2.get());

INT_FF.set(NOR3(NOR(setFF, INT_FF.get()), RESCL, R2_Enable));
Expand Down

0 comments on commit d42e406

Please sign in to comment.