suppress function-like macro expansion for MSVC (nw)
parent
57ca5a4593
commit
67726dae68
|
@ -2588,8 +2588,8 @@ int32_t voodoo_device::register_w(voodoo_device *vd, offs_t offset, uint32_t dat
|
|||
visarea.set(hbp, hbp + hvis - 1, vbp, vbp + vvis - 1);
|
||||
|
||||
/* keep within bounds */
|
||||
visarea.max_x = std::min(visarea.max_x, htotal - 1);
|
||||
visarea.max_y = std::min(visarea.max_y, vtotal - 1);
|
||||
visarea.max_x = (std::min)(visarea.max_x, htotal - 1);
|
||||
visarea.max_y = (std::min)(visarea.max_y, vtotal - 1);
|
||||
|
||||
/* compute the new period for standard res, medium res, and VGA res */
|
||||
stdperiod = HZ_TO_ATTOSECONDS(15750) * vtotal;
|
||||
|
@ -5258,7 +5258,7 @@ int32_t voodoo_device::fastfill(voodoo_device *vd)
|
|||
for (y = sy; y < ey; y += ARRAY_LENGTH(extents))
|
||||
{
|
||||
poly_extra_data *extra = (poly_extra_data *)poly_get_extra_data(vd->poly);
|
||||
int count = std::min(ey - y, int(ARRAY_LENGTH(extents)));
|
||||
int count = (std::min)(ey - y, int(ARRAY_LENGTH(extents)));
|
||||
|
||||
extra->device = vd;
|
||||
memcpy(extra->dither, dithermatrix, sizeof(extra->dither));
|
||||
|
|
Loading…
Reference in New Issue