diff options
author | Max Horn | 2004-01-03 21:29:17 +0000 |
---|---|---|
committer | Max Horn | 2004-01-03 21:29:17 +0000 |
commit | acc4aa0fc286474d1145ba59715c0dd2b1b8f760 (patch) | |
tree | 6b8748b418ea298941c6d1453660644139b4c479 /scumm | |
parent | 22248a548f3794c66534d70ae297c9f25e5673da (diff) | |
download | scummvm-rg350-acc4aa0fc286474d1145ba59715c0dd2b1b8f760.tar.gz scummvm-rg350-acc4aa0fc286474d1145ba59715c0dd2b1b8f760.tar.bz2 scummvm-rg350-acc4aa0fc286474d1145ba59715c0dd2b1b8f760.zip |
oops
svn-id: r12120
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 764e1d70ad..3b3f4a38bd 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -235,7 +235,7 @@ void ScummEngine::getGraphicsPerformance() { initScreens(16, _screenWidth, 144); } -void ScummEngine::initScreens(int a, int b, int w, int h) { +void ScummEngine::initScreens(int b, int w, int h) { int i; for (i = 0; i < 3; i++) { @@ -244,6 +244,8 @@ void ScummEngine::initScreens(int a, int b, int w, int h) { } if (!getResourceAddress(rtBuffer, 4)) { + // Since the size of screen 3 is fixed, there is no need to reallocate it + // if its size changed. if (_version >= 7) { initVirtScreen(3, 0, (_screenHeight / 2) - 10, _screenWidth, 13, false, false); } else { |