aboutsummaryrefslogtreecommitdiffstats
path: root/dddrv.c
diff options
context:
space:
mode:
authorJaroslav Hensl <jara@hensl.cz>2024-07-31 20:10:06 +0200
committerJaroslav Hensl <jara@hensl.cz>2024-07-31 20:10:06 +0200
commit3edc12d83254c04554461fdbb310dd46d284c27c (patch)
tree9a16c7bbea53839280243f372c8c2f63294049a1 /dddrv.c
parentbe8a59eca43f5de0b25c332f4e7c6f799fce307f (diff)
downloadvmdisp9x-1.2024.0.73.tar.gz
DD: surface align was too largev1.2024.0.73
Diffstat (limited to 'dddrv.c')
-rw-r--r--dddrv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dddrv.c b/dddrv.c
index 633413c..129d787 100644
--- a/dddrv.c
+++ b/dddrv.c
@@ -233,7 +233,8 @@ static void buildDDHALInfo(VMDAHAL_t __far *hal, int modeidx)
{
// static DWORD AlignTbl [ 9 ] = { 64, 64, 64, 64, 64, 64, 64, 64, 64 };
// static DWORD AlignTbl [ 9 ] = { 8, 8, 8, 8, 16, 8, 24, 8, 32 };
- static DWORD AlignTbl [ 9 ] = { 128, 128, 128, 128, 128, 128, 128, 128, 128 }; /* we can now use aligned SSE to manipulate with surfaces */
+// static DWORD AlignTbl [ 9 ] = { 128, 128, 128, 128, 128, 128, 128, 128, 128 };
+ static DWORD AlignTbl [ 9 ] = { 16, 16, 16, 16, 16, 16, 16, 16, 16 }; /* we can now use aligned AVX to manipulate with surfaces */
int ii;
BOOL can_flip;
WORD heap;