changeset 1844:821b8755fcbd

Fix GunPaint format rendering.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Jun 2018 21:47:10 +0300
parents bda7f82f221e
children a77451bb6614
files tools/lib64fmts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64fmts.c	Fri Jun 22 19:13:41 2018 +0300
+++ b/tools/lib64fmts.c	Fri Jun 22 21:47:10 2018 +0300
@@ -847,7 +847,7 @@
     const DMC64Image *img, const int bmoffs, const int scroffs,
     const int shift, const int bitmap, const int rasterX, const int rasterY)
 {
-    const int vbank = (rasterY & 7);// + (vbitmap * 8);
+    const int vbank = (rasterY & 7) + (bitmap * 8);
     int vr, vb;
     (void) rasterX;
     if (rasterY < 177)