result.tilesw=result.width/TILEWH;\r
result.tilesh=result.height/TILEWH;\r
result.id = p->id+1;\r
- result.stridew=p->stridew;//result.width/4;\r
+ result.stridew=p->sw/4;//result.width/4;\r
result.pagesize = (word)(result.width/4)*result.height;\r
switch(result.id)\r
{\r
modexCopyPageRegion(pip[1].page, pip[0].page, x-4, y-4, x-4, y-4, 28, 36);
else{
//copy old bg to page0
- modexCopyPageRegion(pip[3].page, pip[0].page, bx, by, 0, 0, 20, 36);
+ //modexCopyPageRegion(pip[3].page, pip[0].page, bx, by, 0, 0, 20, 36);
//update buffer
- modexCopyPageRegion(pip[0].page, pip[3].page, 0, 0, x, y, 20, 36);
+ //modexCopyPageRegion(pip[0].page, pip[3].page, 0, 0, x, y, 20, 36);
}
//modexCopyPageRegion(page_t *dest, page_t *src, word sx, word sy, word dx, word dy, word width, word height);
//modexCopyPageRegion(pip[3].page, pip[!(pip->video->p)].page, x-4, y-4, 0, 128, 28, 36);