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

@@ -1305,6 +1305,19 @@ GUIWinClicked:
%endif
%endmacro
%macro GUIClickCButtonMMX 3
cmp eax,%1+1
jl %%noclick
cmp edx,%2+3
jl %%noclick
cmp eax,%1+6
jg %%noclick
cmp edx,%2+8
jg %%noclick
xor %3,2
%%noclick
%endmacro
%macro GUIClickCButtonI 3
cmp eax,%1+1
jl %%noclick
@@ -1321,21 +1334,6 @@ GUIWinClicked:
%%noclick
%endmacro
%macro GUIClickCButtonMMX 4
cmp eax,%1+1
jl %%noclick
cmp edx,%2+3
jl %%noclick
cmp eax,%1+6
jg %%noclick
cmp edx,%2+8
jg %%noclick
xor %3,%4
call MMXCheck
ret
%%noclick
%endmacro
%macro GUISlidebarPostImpl 13 ; x1,y1,x2,y2,upjump,downjump,holdpos,scsize,view,cur,listsize
cmp dword[%11],0
je near %%nolower
@@ -2154,7 +2152,7 @@ DisplayGUIOptionClick:
GUIClickCButton2 11,36,byte[newengen],byte[cfgnewgfx],1
.invalidng
; GUIClickCButton2 11,46,byte[vsyncon],byte[cfgvsync],1
GUIClickCButtonMMX 11,56,byte[MMXSupport],1
GUIClickCButtonMMX 11,56,byte[FPUCopy]
GUIClickCButtonM 11,66,byte[pl12s34]
%ifdef __MSDOS__
GUIClickCButton 11,76,byte[SidewinderFix]