//printf("%d,%d p(%d,%d) r(%d,%d) rwh(%d,%d)\n", x, y, px, py, rx, ry, rw, rh);\r
for(plane=0; plane < 4; plane++) {\r
i=PEEE+prh;\r
- modexSelectPlane(PLANE(plane-1));\r
+ omodexSelectPlane(PLANE(plane-1));\r
for(; y < py+rh; y++) {\r
_fmemcpy(page->data + (((page->width/4) * (y)) + ((x) / 4)), &(p->plane[plane][i]), prw);\r
i+=PE;\r
\r
/* TODO Make this fast. It's SLOOOOOOW */\r
for(plane=0; plane < 4; plane++) {\r
- modexSelectPlane(PLANE(plane+x));\r
+ omodexSelectPlane(PLANE(plane+x));\r
for(px = plane; px < bmp->width; px+=4) {\r
offset=px;\r
for(py=0; py<bmp->height; py++) {\r