diff options
Diffstat (limited to 'engines/avalanche')
-rw-r--r-- | engines/avalanche/graph.h | 2 | ||||
-rw-r--r-- | engines/avalanche/lucerna2.cpp | 3 | ||||
-rw-r--r-- | engines/avalanche/module.mk | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/engines/avalanche/graph.h b/engines/avalanche/graph.h index 24fffcc149..559e78cb6f 100644 --- a/engines/avalanche/graph.h +++ b/engines/avalanche/graph.h @@ -38,7 +38,7 @@ class AvalancheEngine; class Graph { public: static const int16 _screenWidth = 640; - static const int16 _screenHeight = 200; + static const int16 _screenHeight = 400; diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp index 6cd99b5bca..493d114b39 100644 --- a/engines/avalanche/lucerna2.cpp +++ b/engines/avalanche/lucerna2.cpp @@ -251,7 +251,8 @@ void Lucerna::load(byte n) { /* Load2, actually */ byte pixel = f.readByte(); for (byte i = 0; i < 8; i++) { byte pixelBit = (pixel >> i) & 1; - *(byte *)background.getBasePtr(x + 7 - i, y) += (pixelBit << plane); + for (byte j = 0; j < 2; j++) // We draw every line twice to reach 400 picture height. + *(byte *)background.getBasePtr(x + 7 - i, y * 2 + j) += (pixelBit << plane); } } diff --git a/engines/avalanche/module.mk b/engines/avalanche/module.mk index ff5bc61e96..222482e406 100644 --- a/engines/avalanche/module.mk +++ b/engines/avalanche/module.mk @@ -2,6 +2,7 @@ MODULE := engines/avalanche MODULE_OBJS = \ avalanche.o \ + graph.o \ avalot.o \ console.o \ detection.o \ |