Skip to content

Commit

Permalink
Skip additional rendering enabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
robb committed Feb 17, 2019
1 parent 502069b commit 4fff811
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions NES/PPU+Step.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ internal extension PPU {
if preRenderScanline && cycle >= 280 && cycle <= 304 {
copyY()
}
}

if renderingEnabled && cycle == 257 {
if visibleLine {
fetchSprites()
} else {
currentSpriteCount = 0
if cycle == 257 {
if visibleLine {
fetchSprites()
} else {
currentSpriteCount = 0
}
}
}

Expand Down

0 comments on commit 4fff811

Please sign in to comment.