From bb54e138e95d512103b283e724d7d9d19dc21064 Mon Sep 17 00:00:00 2001 From: Ted Green Date: Sat, 22 Apr 2017 07:00:23 -0600 Subject: [PATCH] voodoo: Revert texture base address calculation to fix seattle driver. (nw) --- src/devices/video/voodoo.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/devices/video/voodoo.cpp b/src/devices/video/voodoo.cpp index a3a5596586e..e46dfd15db1 100644 --- a/src/devices/video/voodoo.cpp +++ b/src/devices/video/voodoo.cpp @@ -3397,12 +3397,10 @@ int32_t voodoo_device::texture_w(voodoo_device *vd, offs_t offset, uint32_t data /* old code has a bit about how this is broken in gauntleg unless we always look at TMU0 */ if (TEXMODE_SEQ_8_DOWNLD(vd->tmu[0].reg/*t->reg*/[textureMode].u)) { - //ts = (offset << 2) & 0xfc; - ts = (offset & 0x3f) << 2; + ts = (offset << 2) & 0xfc; } else { - //ts = (offset << 1) & 0xfc; - ts = (offset & 0x7f) << 1; + ts = (offset << 1) & 0xfc; } /* validate parameters */ if (lod > 8)