]> 4ch.mooo.com Git - 16.git/blobdiff - src/pcxtest.c
trying to fix~ palette updater bug! wwww
[16.git] / src / pcxtest.c
index 75847e5631ceff6a2a209cb5a2b1bd0e7b0d75b6..f735a5597e2561044f64406e85cd453c41e314cd 100644 (file)
@@ -68,7 +68,7 @@ void main() {
     modexEnter();\r
 \r
     /* fix up the palette and everything */\r
-    modexPalUpdate(bmp.palette, 0);\r
+    modexPalUpdate(&bmp, 0, 0, 0);\r
 \r
     /* clear and draw one sprite and one bitmap */\r
     modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1);\r