const int px=x-page->dx;\r
const int py=y-page->dy;\r
for(plane=0; plane < 4; plane++) {\r
- i=(rx/4)+((p->pwidth)*ry);\r
+ i=(rw/4)+((p->pwidth)*ry);\r
modexSelectPlane(PLANE(plane+x));\r
for(; y < py+rh; y++) {\r
//for(px=0; px < p->width; px++) {\r
#endif
// printf("Total used @ before palette initiation: %zu\n", oldfreemem-GetFreeSize());
//++++ player[0].data.offset=(paloffset/3);
-//++++ modexPalUpdate(&player[0].data, &paloffset, 0, 0);
+//++++ modexPalUpdate1(&player[0].data, &paloffset, 0, 0);
+ modexPalUpdate1(gpal);
//printf(" %d\n", sizeof(ptmp->data));
//printf("1: %d\n", paloffset);
//++++ map.tiles->data->offset=(paloffset/3);