MMX save option finally fixed!
This commit is contained in:
@@ -584,6 +584,7 @@ NEWSYM DisableScreenSaver, db 0
|
||||
NEWSYM TrapMouseCursor, db 1
|
||||
NEWSYM KeyQuickClock, dd 0
|
||||
NEWSYM KeyQuickMinimize, dd 0
|
||||
NEWSYM CopyMethod, db 2
|
||||
|
||||
GUIsave equ $-GUIRAdd
|
||||
|
||||
|
||||
@@ -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,cfgcopymethod
|
||||
EXTSYM cfgloadgdir,cfgloadsdir,CopyMethod
|
||||
EXTSYM init18_2hz
|
||||
EXTSYM OSExit
|
||||
%ifdef __LINUX__
|
||||
@@ -1568,7 +1568,7 @@ NEWSYM DosExit ; Terminate Program
|
||||
|
||||
NEWSYM MMXCheck
|
||||
; Check for cpu that doesn't support CPUID
|
||||
cmp byte[FPUCopy],3
|
||||
cmp byte[CopyMethod],0
|
||||
jne near .nommx2
|
||||
mov edx,cpuidfname
|
||||
call Open_File
|
||||
@@ -1589,7 +1589,7 @@ NEWSYM MMXCheck
|
||||
|
||||
; MMX support
|
||||
mov byte[FPUCopy],0
|
||||
mov byte[cfgcopymethod],0
|
||||
mov byte[CopyMethod],0
|
||||
mov eax,1
|
||||
CPUID
|
||||
|
||||
@@ -1601,7 +1601,7 @@ NEWSYM MMXCheck
|
||||
test edx,1 << 23
|
||||
jz .nommx
|
||||
mov byte[FPUCopy],2
|
||||
mov byte[cfgcopymethod],2
|
||||
mov byte[CopyMethod],2
|
||||
mov edx,YesMMX
|
||||
call PrintStr
|
||||
.nommx
|
||||
|
||||
Reference in New Issue
Block a user