various fixes for vertical scrolling rooms: fixed, screen updates (and made them more efficient), fixed transitionEffect() for 'high' rooms, documented drawStripToScreen() params a little (we really should start documenting for each function which takes coordinates in which coordinate system they are). Please test all vertical scrolling rooms (and others, too) for regressions
svn-id: r12228
This commit is contained in:
parent
7698782979
commit
467861917d
2 changed files with 25 additions and 32 deletions
|
@ -160,6 +160,10 @@ bool ScummEngine::loadState(int slot, bool compat, SaveFileManager *mgr) {
|
|||
saveOrLoad(&ser, hdr.ver);
|
||||
delete in;
|
||||
|
||||
// Normally, _vm->_screenTop should always be >= 0, but for some old save games
|
||||
// it is not, hence we check & correct it here.
|
||||
if (_screenTop < 0)
|
||||
_screenTop = 0;
|
||||
|
||||
// We could simply dirty colours 0-15 for 16-colour games -- nowadays
|
||||
// they handle their palette pretty much like the more recent games
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue