clear full screen before playing movie in BS1 (fixes #2599573)

svn-id: r36334
This commit is contained in:
Willem Jan Palenstijn 2009-02-14 18:34:10 +00:00
parent 6103e821c6
commit af900a2e14

View File

@ -70,9 +70,7 @@ void Screen::clearScreen(void) {
if (_screenBuf) {
_fullRefresh = true;
memset(_screenBuf, 0, _scrnSizeX * _scrnSizeY);
// The buffer isn't necessarily big enough to clear the entire
// screen, so the menu areas are unaffected. For now.
_system->copyRectToScreen(_screenBuf, SCREEN_WIDTH, 0, 40, SCREEN_WIDTH, SCREEN_DEPTH);
_system->clearScreen();
}
}