diff options
Diffstat (limited to 'backends/sdl/sdl.cpp')
| -rw-r--r-- | backends/sdl/sdl.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index b95d7a2775..24c9cc3f72 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -215,6 +215,10 @@ void OSystem_SDL::update_screen() {  	// If the shake position changed, fill the dirty area with blackness  	if (_currentShakePos != _newShakePos) {  		SDL_Rect blackrect = {0, 0, _screenWidth * _scaleFactor, _newShakePos * _scaleFactor}; + +		if (_adjustAspectRatio) +			blackrect.h = real2Aspect(blackrect.h - 1) + 1; +  		SDL_FillRect(_hwscreen, &blackrect, 0);  		_currentShakePos = _newShakePos; | 
