Previous 199869 Revisions Next

r22004 Thursday 21st March, 2013 at 09:50:05 UTC by David Haywood
actually let's bail out even earlier (nw)
[src/mame/drivers]coolridr.c

trunk/src/mame/drivers/coolridr.c
r22003r22004
11061106#define GET_CURRENT_LINESCROLLZOOM \
11071107   UINT32 dword = object->indirect_zoom[v*16+realy]; \
11081108   UINT16 hZoomHere = hZoom + (dword>>16); \
1109   if (!hZoomHere) { drawy++; continue; } \
11091110   /* bit 0x8000 does get set too, but only on some lines, might have another meaning? */ \
11101111   int linescroll = dword&0x7fff; \
11111112   if (linescroll & 0x4000) linescroll -= 0x8000; \
r22003r22004
11391140   { \
11401141      int realy = ((y*incy)>>21); \
11411142      GET_CURRENT_LINESCROLLZOOM \
1142      if (!hZoomHere) { drawy++; continue; } \
11431143      const int pixelOffsetX = ((hPositionTable) + (h* 16 * hZoomHere)) / 0x40; \
11441144      const int pixelOffsetnextX = ((hPositionTable) + ((h+1)* 16 * hZoomHere)) / 0x40; \
11451145      if (drawy>clipmaxY) { break; }; \

Previous 199869 Revisions Next


© 1997-2024 The MAME Team