~kingcons/clones

91d581d3afab2aa932adb42b9c25657cb6ae7fc5 — Brit Butler 4 months ago 91edf2b
Handle COARSE-Y 31 scrolling case.

This was keeping us from going in-game to Megaman 2 levels and I have no idea
why we didn't just handle this case to begin with because it is _not_ complicated.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/ppu.lisp
M src/ppu.lisp => src/ppu.lisp +1 -1
@@ 418,7 418,7 @@ Return two values, the index including an offset for the current scanline and th
           (setf coarse-y 0
                 nt-index (if (zerop nt-index) 1 0)))
          ((= coarse-y 31)
           (error 'not-yet-implemented))
           (setf coarse-y 0))
          (t
           (incf coarse-y)))))