aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-04-03 17:40:32 +0000
committerPaweł Kołodziejski2002-04-03 17:40:32 +0000
commitf133cf6f56359c435981fe42b815356403e538b6 (patch)
tree3d42a60540d5e36e29b1d937d9f8065d87002acb /gfx.cpp
parent7afd2a11dbac5098b672fa7f43f6f1d49df205f7 (diff)
downloadscummvm-rg350-f133cf6f56359c435981fe42b815356403e538b6.tar.gz
scummvm-rg350-f133cf6f56359c435981fe42b815356403e538b6.tar.bz2
scummvm-rg350-f133cf6f56359c435981fe42b815356403e538b6.zip
Reenable masking detection for Indy3/Zak/Loom - still not correct, I've got no idea how this code actually does the masking.
svn-id: r3853
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/gfx.cpp b/gfx.cpp
index c961fbb280..34e4dd2f20 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -1260,13 +1260,10 @@ void Gdi::unkDecode7() {
{
_currentX = 8;
for(;;) {
-
byte color = *src++;
-
-
- *dst = color;
+ *dst = color;
NEXT_ROW
- }
+ }
return;
}
@@ -2088,9 +2085,6 @@ void Scumm::setCursorHotspot2(int x,int y) {
byte Scumm::isMaskActiveAt(int l, int t, int r, int b, byte *mem) {
int w,h,i;
- if(_features & GF_SMALL_HEADER) /* FIXME */
- return false;
-
l>>=3;
if (l<0) l = 0;
if (t<0) t = 0;