fix incorrect framebuffer size

This commit is contained in:
Colby 2016-07-31 13:12:13 +10:00
parent 5a71e8de00
commit 8b727f1bde

View file

@ -9,7 +9,7 @@ module Waterfoul
SCREEN_WIDTH = 160
SCREEN_HEIGHT = 144
FRAMEBUFFER_SIZE = SCREEN_WIDTH * SCREEN_HEIGHT
FRAMEBUFFER_SIZE = (Screen::SCREEN_WIDTH - 1) * (Screen::SCREEN_HEIGHT - 1)
H_BLANK_STATE = 0
V_BLANK_STATE = 1