diff -ur ScummVM-cvs20030719/scummvm/backends/sdl/sdl.cpp ScummVM-cvs20030719+hack/scummvm/backends/sdl/sdl.cpp
old
|
new
|
|
215 | 215 | // If the shake position changed, fill the dirty area with blackness |
216 | 216 | if (_currentShakePos != _newShakePos) { |
217 | 217 | SDL_Rect blackrect = {0, 0, _screenWidth * _scaleFactor, _newShakePos * _scaleFactor}; |
| 218 | |
| 219 | if (_adjustAspectRatio) |
| 220 | blackrect.h = real2Aspect(blackrect.h - 1) + 1; |
| 221 | |
218 | 222 | SDL_FillRect(_hwscreen, &blackrect, 0); |
219 | 223 | |
220 | 224 | _currentShakePos = _newShakePos; |
diff -ur ScummVM-cvs20030719/scummvm/backends/sdl/sdl_gl.cpp ScummVM-cvs20030719+hack/scummvm/backends/sdl/sdl_gl.cpp
old
|
new
|
|
365 | 365 | fb2gl.blit16(tmpSurface, 1, &blackrect, 0, 0); |
366 | 366 | } else { // SDL backend |
367 | 367 | SDL_Rect blackrect = {0, 0, _screenWidth * _scaleFactor, _newShakePos * _scaleFactor}; |
| 368 | |
| 369 | if (_adjustAspectRatio) |
| 370 | blackrect.h = real2Aspect(blackrect.h - 1) + 1; |
| 371 | |
368 | 372 | SDL_FillRect(_hwscreen, &blackrect, 0); |
369 | 373 | } |
370 | 374 | |