summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/vooddefs.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/vooddefs.ipp')
-rw-r--r--src/devices/video/vooddefs.ipp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/video/vooddefs.ipp b/src/devices/video/vooddefs.ipp
index 07487f2bbf8..6a169640947 100644
--- a/src/devices/video/vooddefs.ipp
+++ b/src/devices/video/vooddefs.ipp
@@ -2843,7 +2843,12 @@ inline rgbaint_t ATTR_FORCE_INLINE voodoo_device::tmu_state::genTexture(int32_t
}
else
{
+#if ((!defined(MAME_DEBUG) || defined(__OPTIMIZE__)) && (defined(__SSE2__) || defined(_MSC_VER)) && defined(PTR64))
+ // Extra shift by 8 due to how sse class is stored
+ iterstw.get_st_shiftr(s, t, (14 + 10 + 8));
+#else
iterstw.get_st_shiftr(s, t, (14 + 10));
+#endif
}
/* clamp W */