mirror of
https://github.com/mamedev/mame.git
synced 2024-09-29 17:38:18 +02:00
sega/powervr.cpp: fix MT#8088
This commit is contained in:
parent
a772dbd30f
commit
2a5f202c85
1 changed files with 4 additions and 0 deletions
|
@ -2502,6 +2502,10 @@ inline void powervr2_device::render_span(bitmap_rgb32 &bitmap, texinfo *ti,
|
|||
if(y1 > 480)
|
||||
y1 = 480;
|
||||
|
||||
// demofist, chocomk (hardlocks with -drc, MT#8088)
|
||||
if (std::isnan(y0) || std::isnan(y1))
|
||||
return;
|
||||
|
||||
float bl[4], br[4], offl[4], offr[4];
|
||||
memcpy(bl, bl_in, sizeof(bl));
|
||||
memcpy(br, br_in, sizeof(br));
|
||||
|
|
Loading…
Reference in a new issue