aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index bf151e7fd3..db3d530018 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -622,7 +622,8 @@ void ScummEngine::ditherCGA(byte *dst, int dstPitch, int x, int y, int width, in
for (int x1 = 0; x1 < width; x1++) {
idx2 = (x + x1) % 2;
- *ptr++ = cgaDither[idx1][idx2][*ptr & 0xF];
+ *ptr = cgaDither[idx1][idx2][*ptr & 0xF];
+ ptr++;
}
}
}