fixed compiling with old Apple GCC (hs and hl are unsigned int, and therefore cannot be < 0). nw.
This commit is contained in:
parent
433224836d
commit
1a7d44a861
@ -4823,20 +4823,20 @@ inline void rsp_device::ccfunc_rsp_vaddb_scalar()
|
|||||||
{
|
{
|
||||||
hs = 255;
|
hs = 255;
|
||||||
}
|
}
|
||||||
else if (hs < 0)
|
/*else if (hs < 0)
|
||||||
{
|
{
|
||||||
hs = 0;
|
hs = 0;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
ls >>= EL;
|
ls >>= EL;
|
||||||
if (ls > 255)
|
if (ls > 255)
|
||||||
{
|
{
|
||||||
ls = 255;
|
ls = 255;
|
||||||
}
|
}
|
||||||
else if (ls < 0)
|
/*else if (ls < 0)
|
||||||
{
|
{
|
||||||
ls = 0;
|
ls = 0;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
vres[i] = 0; // VD writeback disabled on production hardware
|
vres[i] = 0; // VD writeback disabled on production hardware
|
||||||
// vres[i] = (hs << 8) | ls;
|
// vres[i] = (hs << 8) | ls;
|
||||||
|
Loading…
Reference in New Issue
Block a user