aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-28 18:49:41 +1100
committerPaul Gilbert2012-10-28 18:49:41 +1100
commit54b6f47ad9f22529abd29c08abf217a1e4e70118 (patch)
treedb638e9b9a84ef0eab2a5c6b7cded1e8d472b3f1
parenta8e217a7b8296d40f658583579edc68d86f1dd3f (diff)
downloadscummvm-rg350-54b6f47ad9f22529abd29c08abf217a1e4e70118.tar.gz
scummvm-rg350-54b6f47ad9f22529abd29c08abf217a1e4e70118.tar.bz2
scummvm-rg350-54b6f47ad9f22529abd29c08abf217a1e4e70118.zip
HOPKINS: Bugfix to Copy_Video_Vbe16a
-rw-r--r--engines/hopkins/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp
index f9505d0372..ae26c40209 100644
--- a/engines/hopkins/graphics.cpp
+++ b/engines/hopkins/graphics.cpp
@@ -1264,7 +1264,7 @@ void GraphicsManager::Copy_Video_Vbe16a(const byte *srcData) {
v3 += 5;
}
Video_Cont_Vbe16a:
- WRITE_LE_UINT16(v2 + v2 + VideoPtr, READ_LE_UINT16(PAL_PIXELS + 2 * v4));
+ WRITE_LE_UINT16((byte *)VideoPtr->pixels + v2 * 2, READ_LE_UINT16(PAL_PIXELS + 2 * v4));
++v3;
++v2;
}