Removed MMX save option; forced MMX always on if detected
This commit is contained in:
@@ -125,7 +125,7 @@ EXTSYM GetScreen,GUITBWVID
|
||||
EXTSYM Clear2xSaIBuffer
|
||||
EXTSYM MouseWindow
|
||||
EXTSYM GotoHomepage
|
||||
EXTSYM cfgcvidmode,ExitFromGUI
|
||||
EXTSYM cfgcvidmode, ExitFromGUI
|
||||
EXTSYM GUIWFVID
|
||||
EXTSYM cfgvsync,newgfx16b
|
||||
EXTSYM cfgscanline,cfginterp
|
||||
@@ -146,11 +146,13 @@ EXTSYM pl1upk,pl1downk,pl1leftk,pl1rightk,pl1Lk,pl1Rk,pl1Ak,pl1Bk
|
||||
EXTSYM deinitipx
|
||||
EXTSYM InitModem
|
||||
EXTSYM outofmemfix,yesoutofmemory
|
||||
|
||||
EXTSYM CReadHead,ReadHead,CFWriteHead,CFWriteStart
|
||||
EXTSYM JoyX,JoyY,JoyMinX,JoyMinY,JoyMaxX,JoyMaxY,JoyMinX209,JoyMaxX209
|
||||
EXTSYM JoyMinY209,JoyMaxY209,GetCoords,GetCoords3
|
||||
EXTSYM MultiTap,SFXEnable
|
||||
EXTSYM RestoreSystemVars
|
||||
|
||||
EXTSYM TCPIPStartServer
|
||||
EXTSYM TCPIPInitConnectToServer
|
||||
EXTSYM TCPIPWaitForConnection
|
||||
@@ -168,7 +170,6 @@ EXTSYM DeInitModemC
|
||||
EXTSYM ipxgetchar,ipxsendchar,TCPIPStoreByte
|
||||
EXTSYM TCPIPGetByte,GUIBIFIL
|
||||
EXTSYM ModemSendChar
|
||||
EXTSYM MMXCheck
|
||||
%ifdef __LINUX__
|
||||
EXTSYM numlockptr
|
||||
%endif
|
||||
@@ -583,7 +584,6 @@ NEWSYM DisableScreenSaver, db 0
|
||||
NEWSYM TrapMouseCursor, db 1
|
||||
NEWSYM KeyQuickClock, dd 0
|
||||
NEWSYM KeyQuickMinimize, dd 0
|
||||
NEWSYM MMXSupport, db 1
|
||||
|
||||
GUIsave equ $-GUIRAdd
|
||||
|
||||
|
||||
@@ -832,8 +832,7 @@ GUIOptionKeys:
|
||||
;.novsync
|
||||
cmp dh,'M'
|
||||
jne .nommxcopy
|
||||
xor byte[MMXSupport],1
|
||||
call MMXCheck
|
||||
xor byte[FPUCopy],2
|
||||
.nommxcopy
|
||||
cmp dh,'U'
|
||||
jne .nousepl34
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user