Added GUI detection to MMX detection routine.
This commit is contained in:
@@ -36,7 +36,7 @@ EXTSYM Create_File,Delete_File,Open_File,Get_File_Date,Close_File,Change_Dir,Get
|
|||||||
EXTSYM romloadskip
|
EXTSYM romloadskip
|
||||||
EXTSYM cfgloadgdir,cfgloadsdir
|
EXTSYM cfgloadgdir,cfgloadsdir
|
||||||
EXTSYM init18_2hz
|
EXTSYM init18_2hz
|
||||||
EXTSYM OSExit
|
EXTSYM OSExit,GUIOn2
|
||||||
%ifdef __LINUX__
|
%ifdef __LINUX__
|
||||||
EXTSYM LinuxExit
|
EXTSYM LinuxExit
|
||||||
EXTSYM GetFilename
|
EXTSYM GetFilename
|
||||||
@@ -1662,8 +1662,11 @@ NEWSYM MMXCheck
|
|||||||
test edx,1 << 23
|
test edx,1 << 23
|
||||||
jz .nommx
|
jz .nommx
|
||||||
mov byte[MMXSupport],1
|
mov byte[MMXSupport],1
|
||||||
|
cmp byte[GUIOn2],1
|
||||||
|
je .noprintstr
|
||||||
mov edx,YesMMX
|
mov edx,YesMMX
|
||||||
call PrintStr
|
call PrintStr
|
||||||
|
.noprintstr
|
||||||
.nommx
|
.nommx
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user