Skip to content

Commit

Permalink
Fix SUZYBUSEN bug, enabled for any non 0 value
Browse files Browse the repository at this point in the history
  • Loading branch information
LLeny committed Dec 17, 2024
1 parent ce62f7b commit 7f3e06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/suzy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl Suzy {
pub fn tick(&mut self, bus: &mut Bus, dma_ram: &mut Ram) {
self.ticks += 1;
self.manage_bus(bus);
if self.pending_bus_request_ticks >= 0 || self.registers.data(SUZYBUSEN) != 1 {
if self.pending_bus_request_ticks >= 0 || self.registers.data(SUZYBUSEN) == 0 {
return;
}
self.manage_ir(bus);
Expand Down

0 comments on commit 7f3e06c

Please sign in to comment.