Removed MMX save option; forced MMX always on if detected

This commit is contained in:
pagefault
2001-08-10 19:36:47 +00:00
parent 0a529dc502
commit 55a02bfcf2
4 changed files with 19 additions and 30 deletions

View File

@@ -33,7 +33,7 @@ EXTSYM smallscreenon,spcon
EXTSYM statefileloc,LatestSave
EXTSYM Create_File,Delete_File,Open_File,Get_File_Date,Close_File,Change_Dir,Get_Dir
EXTSYM romloadskip
EXTSYM cfgloadgdir,cfgloadsdir,MMXSupport
EXTSYM cfgloadgdir,cfgloadsdir
EXTSYM init18_2hz
EXTSYM OSExit
%ifdef __LINUX__
@@ -1568,8 +1568,6 @@ NEWSYM DosExit ; Terminate Program
NEWSYM MMXCheck
; Check for cpu that doesn't support CPUID
cmp byte[MMXSupport],0
je near .nommx3
mov edx,cpuidfname
call Open_File
jc .skipcheck
@@ -1589,7 +1587,6 @@ NEWSYM MMXCheck
; MMX support
mov byte[FPUCopy],0
mov byte[MMXSupport],0
mov eax,1
CPUID
@@ -1601,7 +1598,6 @@ NEWSYM MMXCheck
test edx,1 << 23
jz .nommx
mov byte[FPUCopy],2
mov byte[MMXSupport],1
mov edx,YesMMX
call PrintStr
.nommx
@@ -1610,9 +1606,5 @@ NEWSYM MMXCheck
call Delete_File
.nommx2
ret
.nommx3
mov byte[FPUCopy],0
mov byte[MMXSupport],0
ret
NEWSYM UIAsmEnd