X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpcxtest.c;h=f735a5597e2561044f64406e85cd453c41e314cd;hb=b5c46f5e85d6be9895fa484766867907a885439c;hp=75847e5631ceff6a2a209cb5a2b1bd0e7b0d75b6;hpb=cc5df35b6ba3d7871eac6734822464c7e176f4b7;p=16.git diff --git a/src/pcxtest.c b/src/pcxtest.c index 75847e56..f735a559 100644 --- a/src/pcxtest.c +++ b/src/pcxtest.c @@ -68,7 +68,7 @@ void main() { modexEnter(); /* fix up the palette and everything */ - modexPalUpdate(bmp.palette, 0); + modexPalUpdate(&bmp, 0, 0, 0); /* clear and draw one sprite and one bitmap */ modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1);