summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ajrhacker <ajrhacker@users.noreply.github.com>2020-02-06 07:51:53 -0500
committer GitHub <noreply@github.com>2020-02-06 07:51:53 -0500
commita3aebb67eebc87993e9835d66c6810d5606fa7b3 (patch)
tree2d87ad11aa1f1e5e22f6bfea6fdaf7d89acacd2d
parentc1941e06d39f3534cb5657da3b1cb55146191004 (diff)
parent37c293868281f548a6be00cfce0a3f2b273f3308 (diff)
Merge pull request #6264 from cam900/patch-124
stvvdp1.cpp : Minor fix for gouraud shading
-rw-r--r--src/devices/video/stvvdp1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/stvvdp1.cpp b/src/devices/video/stvvdp1.cpp
index d5f2618d819..fbbe7544cf2 100644
--- a/src/devices/video/stvvdp1.cpp
+++ b/src/devices/video/stvvdp1.cpp
@@ -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;