stvvdp1.cpp : Minor fix for gouraud shading

This commit is contained in:
cam900 2020-02-06 19:46:59 +09:00 committed by GitHub
parent 2eb666ce16
commit 37c2938682
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;