Merge pull request #6264 from cam900/patch-124

stvvdp1.cpp : Minor fix for gouraud shading
This commit is contained in:
ajrhacker 2020-02-06 07:51:53 -05:00 committed by GitHub
commit a3aebb67ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -526,7 +526,7 @@ uint8_t saturn_state::stv_read_gouraud_table( void )
{
int gaddr;
if ( (stv2_current_sprite.CMDPMOD & 0x7) == 4 )
if ( (stv2_current_sprite.CMDPMOD & 0x4) == 4 )
{
gaddr = stv2_current_sprite.CMDGRDA * 8;
stv_gouraud_shading.GA = (m_vdp1_vram[gaddr/4] >> 16) & 0xffff;