diff options
author | Ted Green <tedgreen99@protonmail.com> | 2017-04-22 07:00:23 -0600 |
---|---|---|
committer | Ted Green <tedgreen99@protonmail.com> | 2017-04-22 07:00:47 -0600 |
commit | bb54e138e95d512103b283e724d7d9d19dc21064 (patch) | |
tree | 00ac29a22ee97fca2960f075aec426628deed628 | |
parent | 18172d34c3e9369076fe9130f9f5abc16bb1ff5c (diff) |
voodoo: Revert texture base address calculation to fix seattle driver. (nw)
-rw-r--r-- | src/devices/video/voodoo.cpp | 6 |
1 files 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) |