Make a slightly less hackier workaround. The virtScreen height check was wrong in the first place..
svn-id: r3706
This commit is contained in:
parent
03048d3919
commit
83c0ec5093
1 changed files with 5 additions and 5 deletions
8
gfx.cpp
8
gfx.cpp
|
@ -946,13 +946,13 @@ void Scumm::redrawBGStrip(int start, int num) {
|
||||||
_curVirtScreen = &virtscr[0];
|
_curVirtScreen = &virtscr[0];
|
||||||
|
|
||||||
gfxUsageBits[s]|=0x80000000;
|
gfxUsageBits[s]|=0x80000000;
|
||||||
if (_curVirtScreen->height > _scrHeight) {
|
|
||||||
error("Screen Y size %d < Room height %d",
|
if (_curVirtScreen->height < _scrHeight) {
|
||||||
|
warning("Screen Y size %d < Room height %d",
|
||||||
_curVirtScreen->height,
|
_curVirtScreen->height,
|
||||||
_scrHeight);
|
_scrHeight);
|
||||||
|
_curVirtScreen->height = _scrHeight; // FIXME: Indy3 Hack
|
||||||
}
|
}
|
||||||
if (_currentRoom == 79 && _gameID = GID_INDY3_256) // FIXME: Indy3 workaround
|
|
||||||
_curVirtScreen->height = 136;
|
|
||||||
|
|
||||||
gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource)+_IM00_offs,
|
gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource)+_IM00_offs,
|
||||||
_curVirtScreen, s, 0, _curVirtScreen->height, s, num, 0);
|
_curVirtScreen, s, 0, _curVirtScreen->height, s, num, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue