fixed unintialized constant in PPU render window

This commit is contained in:
Colby Swandale 2016-09-28 13:31:11 +10:00
parent 91eba849b0
commit f095a087a8

View file

@ -173,7 +173,7 @@ module Waterfoul
0.upto(7) do |pixelx|
buffer_addr = line_pixel_offset + pixelx + window_pos_x
next if buffer_addr < 0 || buffer_addr >= Sreen::SCREEN_WIDTH
next if buffer_addr < 0 || buffer_addr >= Screen::SCREEN_WIDTH
shift = 0x1 << (7 - pixelx)