turns out we always had VirtScreen::backBuf but didn't use it... change that (helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp
svn-id: r12133
This commit is contained in:
parent
b8a260c967
commit
d16ac3e88f
4 changed files with 201 additions and 191 deletions
|
@ -3259,7 +3259,7 @@ void ScummEngine_v6::o6_unknownE1() {
|
|||
|
||||
int offset = (y - vs->topline) * vs->width + x + _screenLeft;
|
||||
|
||||
byte area = *(getResourceAddress(rtBuffer, vs->number + 1) + offset);
|
||||
byte area = *(vs->screenPtr + offset);
|
||||
push(area);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue