trunk/src/mame/drivers/coolridr.c
r22003 | r22004 | |
1106 | 1106 | #define GET_CURRENT_LINESCROLLZOOM \ |
1107 | 1107 | UINT32 dword = object->indirect_zoom[v*16+realy]; \ |
1108 | 1108 | UINT16 hZoomHere = hZoom + (dword>>16); \ |
| 1109 | if (!hZoomHere) { drawy++; continue; } \ |
1109 | 1110 | /* bit 0x8000 does get set too, but only on some lines, might have another meaning? */ \ |
1110 | 1111 | int linescroll = dword&0x7fff; \ |
1111 | 1112 | if (linescroll & 0x4000) linescroll -= 0x8000; \ |
r22003 | r22004 | |
1139 | 1140 | { \ |
1140 | 1141 | int realy = ((y*incy)>>21); \ |
1141 | 1142 | GET_CURRENT_LINESCROLLZOOM \ |
1142 | | if (!hZoomHere) { drawy++; continue; } \ |
1143 | 1143 | const int pixelOffsetX = ((hPositionTable) + (h* 16 * hZoomHere)) / 0x40; \ |
1144 | 1144 | const int pixelOffsetnextX = ((hPositionTable) + ((h+1)* 16 * hZoomHere)) / 0x40; \ |
1145 | 1145 | if (drawy>clipmaxY) { break; }; \ |