diff options
-rw-r--r-- | engines/agi/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index 3a73b48b38..d7ec377517 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -160,7 +160,7 @@ static void put_pixels(const int x, const int y, const int w, uint8 *p) { *b++ = *c ? *c : *p + 16; } - memcpy(screen + x + y * 320, p, w); + memcpy(screen + x + y * 320, _b, w); } static void init_console() { |