X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpcxtest.c;h=d0a25c95f666bfd95033352d3466f0ee8ef1195b;hb=382c52a610e89948ad695a356879daf54653bb4c;hp=75847e5631ceff6a2a209cb5a2b1bd0e7b0d75b6;hpb=cc5df35b6ba3d7871eac6734822464c7e176f4b7;p=16.git diff --git a/src/pcxtest.c b/src/pcxtest.c index 75847e56..d0a25c95 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); /* clear and draw one sprite and one bitmap */ modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1);