mirror of
https://github.com/holub/mame
synced 2025-05-20 12:48:53 +03:00
Re-fixing some cppcheck issues. No whatsnew.
This commit is contained in:
parent
ceccc811e5
commit
041cb47232
@ -745,16 +745,12 @@ bool Processor::ZCompare(void* fb, UINT8* hb, UINT16* zb, UINT8* zhb, UINT32 sz,
|
||||
{
|
||||
case 0: // Opaque
|
||||
return (max || (overflow ? infront : nearer));
|
||||
break;
|
||||
case 1: // Interpenetrating
|
||||
return (max || (overflow ? infront : nearer));
|
||||
break;
|
||||
case 2: // Transparent
|
||||
return (infront || max);
|
||||
break;
|
||||
case 3: // Decal
|
||||
return (farther && nearer && !max);
|
||||
break;
|
||||
default:
|
||||
fatalerror( "z_mode = %d", m_other_modes.z_mode);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user