aboutsummaryrefslogtreecommitdiff
path: root/engines/access/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/screen.cpp')
-rw-r--r--engines/access/screen.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/access/screen.cpp b/engines/access/screen.cpp
index cdd5f2021e..9cefa356ef 100644
--- a/engines/access/screen.cpp
+++ b/engines/access/screen.cpp
@@ -51,10 +51,18 @@ Screen::Screen(AccessEngine *vm) : _vm(vm) {
_scrollCol = _scrollRow = 0;
_windowXAdd = _windowYAdd = 0;
_screenYOff = 0;
+
+ setDisplayScan();
}
void Screen::setDisplayScan() {
- warning("TODO: setDisplayScan");
+ _clipWidth = this->w - 1;
+ _clipHeight = this->h - 1;
+ _windowXAdd = _windowYAdd = 0;
+ _scrollX = _scrollY = 0;
+ _scrollCol = _scrollRow = 0;
+ _bufferStart.x = _bufferStart.y = 0;
+ _screenYOff = 0;
}
void Screen::setPanel(int num) {