mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
coolridr: work around miscompile on newer versions of Clang [Phil Bennett]
This commit is contained in:
parent
d313d02e79
commit
7f23bacb48
@ -2053,7 +2053,7 @@ void *coolridr_state::draw_object_threaded(void *param, int threadid)
|
|||||||
const int pixelOffsetnextX = ((hPosition) + ((h+1)* 16 * hZoom)) / 0x40;
|
const int pixelOffsetnextX = ((hPosition) + ((h+1)* 16 * hZoom)) / 0x40;
|
||||||
|
|
||||||
int blockwide = pixelOffsetnextX-pixelOffsetX;
|
int blockwide = pixelOffsetnextX-pixelOffsetX;
|
||||||
UINT32 incx = 0x8000000 / hZoom;
|
UINT32 incx = 0x8000000 / (object->spriteblit[8] & 0x0000ffff);
|
||||||
|
|
||||||
if (pixelOffsetX+blockwide < clipminX)
|
if (pixelOffsetX+blockwide < clipminX)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user