aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/screen.cpp4
-rw-r--r--engines/kyra/screen.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index 426907c871..6c2c48cb02 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -74,7 +74,6 @@ Screen::~Screen() {
}
bool Screen::init() {
- _disableScreen = false;
_debugEnabled = false;
memset(_sjisOverlayPtrs, 0, sizeof(_sjisOverlayPtrs));
@@ -219,9 +218,6 @@ void Screen::setResolution() {
}
void Screen::updateScreen() {
- if (_disableScreen)
- return;
-
if (_useOverlays)
updateDirtyRectsOvl();
else
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h
index a7a7efa7ca..d8380d104d 100644
--- a/engines/kyra/screen.h
+++ b/engines/kyra/screen.h
@@ -335,7 +335,6 @@ public:
uint8 *_shapePages[2];
int _maskMinY, _maskMaxY;
FontId _currentFont;
- bool _disableScreen;
// decoding functions
static void decodeFrame3(const uint8 *src, uint8 *dst, uint32 size);