MMX save option is now fixed for good

This commit is contained in:
pagefault
2001-08-06 21:33:43 +00:00
parent b7dbf2cc14
commit e76c8e4697
4 changed files with 29 additions and 10 deletions

View File

@@ -1569,7 +1569,7 @@ NEWSYM DosExit ; Terminate Program
NEWSYM MMXCheck
; Check for cpu that doesn't support CPUID
cmp byte[MMXSupport],0
jne near .nommx2
je near .nommx3
mov edx,cpuidfname
call Open_File
jc .skipcheck
@@ -1601,7 +1601,7 @@ NEWSYM MMXCheck
test edx,1 << 23
jz .nommx
mov byte[FPUCopy],2
mov byte[MMXSupport],2
mov byte[MMXSupport],1
mov edx,YesMMX
call PrintStr
.nommx
@@ -1610,5 +1610,9 @@ NEWSYM MMXCheck
call Delete_File
.nommx2
ret
.nommx3
mov byte[FPUCopy],0
mov byte[MMXSupport],0
ret
NEWSYM UIAsmEnd