From: sparky4 Date: Thu, 29 Oct 2015 19:45:25 +0000 (-0500) Subject: I DID IT PLANAR BUFFERING IS RENDERED! IT JUST NEEDS POLISHING~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=90714393d00c5d9990576aae8dc917082bb97333;p=16.git I DID IT PLANAR BUFFERING IS RENDERED! IT JUST NEEDS POLISHING~ --- diff --git a/16.exe b/16.exe index 98ab90f9..34522c02 100755 Binary files a/16.exe and b/16.exe differ diff --git a/exmmtest.exe b/exmmtest.exe index 659f5ba9..6dcbec0a 100755 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/planrpcx.exe b/planrpcx.exe index 6abccccd..11c90fcb 100755 Binary files a/planrpcx.exe and b/planrpcx.exe differ diff --git a/scroll.exe b/scroll.exe index 053a9a69..bba47e3d 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 8a0015bd..810fc73b 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -656,7 +656,7 @@ void modexDrawBmpPBufRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, planar_buf_t *bmp) { word poffset = (word) page->data + y*(page->width/4) + x/4; - byte huge *data = *bmp->plane;//+bmp->offset; + byte *data = *bmp->plane;//+bmp->offset; word bmpOffset = (word) data + ry * bmp->width + rx; word width = rw/4; word height = rh/4; @@ -723,7 +723,7 @@ void modexDrawSpritePBufRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, planar_buf_t *bmp) { word poffset = (word)page->data + y*(page->width/4) + x/4; - byte huge *data = *bmp->plane;//+bmp->offset; + byte *data = *bmp->plane;//+bmp->offset; word bmpOffset = (word) data + ry * bmp->width + rx; word width = rw/4; word height = rh/4; diff --git a/test.exe b/test.exe index a3678822..03a5daf2 100755 Binary files a/test.exe and b/test.exe differ