aboutsummaryrefslogtreecommitdiff
path: root/sky/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/screen.cpp')
-rw-r--r--sky/screen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp
index c8050eefa1..56f8aec409 100644
--- a/sky/screen.cpp
+++ b/sky/screen.cpp
@@ -180,8 +180,8 @@ void SkyScreen::flip(void) {
uint8 *screenPos = _currentScreen;
uint8 *backPos = _backScreen;
uint32 copyX, copyWidth;
+ copyWidth = 0;
for (uint8 cnty = 0; cnty < GRID_Y; cnty++) {
- copyWidth = 0;
for (uint8 cntx = 0; cntx < GRID_X; cntx++) {
if (_gameGrid[cnty * GRID_X + cntx] & 1) {
_gameGrid[cnty * GRID_X + cntx] &= ~1;
@@ -220,7 +220,6 @@ void SkyScreen::fnDrawScreen(uint32 palette, uint32 scroll) {
recreate();
spriteEngine();
flip();
- _system->update_screen();
fnFadeUp(palette, scroll);
}