SCUMM: Some fixes that I'm not sure exactly what they do

I don't know what these fixes do exactly, but judging by the old code
they should be there.
This commit is contained in:
Torbjörn Andersson 2021-05-15 21:57:02 +02:00 committed by Eugene Sandulenko
parent ec6f0b1cf3
commit 93cbb988a6
2 changed files with 9 additions and 0 deletions

View file

@ -555,6 +555,8 @@ bool ScummEngine::loadState(int slot, bool compat, Common::String &filename) {
// Reset charset mask
_charset->_hasMask = false;
if (_macScreen)
_macScreen->fillRect(Common::Rect(_macScreen->w, _macScreen->h), 0);
clearTextSurface();
_lastCodePtr = NULL;