Skip to content

Commit

Permalink
Run PPU and APU for proper number of cycles on a DMA
Browse files Browse the repository at this point in the history
  • Loading branch information
scottferg committed May 7, 2013
1 parent d9d2cad commit feb9b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 6502.go
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ func (c *Cpu) Step() int {
// Used during a DMA
if c.CyclesToWait > 0 {
c.CyclesToWait--
return 0
return 1
}

// Check if an interrupt was requested
Expand Down

0 comments on commit feb9b16

Please sign in to comment.