mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +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;
|
||||
|
||||
int blockwide = pixelOffsetnextX-pixelOffsetX;
|
||||
UINT32 incx = 0x8000000 / hZoom;
|
||||
UINT32 incx = 0x8000000 / (object->spriteblit[8] & 0x0000ffff);
|
||||
|
||||
if (pixelOffsetX+blockwide < clipminX)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user