chore(fmod): add files from Chensne/DragonNest
This commit is contained in:
commit
50fb3c6b1c
544 changed files with 315778 additions and 0 deletions
41
win32/src/fmod_os_misc_asm.s
Executable file
41
win32/src/fmod_os_misc_asm.s
Executable file
|
|
@ -0,0 +1,41 @@
|
|||
%include "./FMOD_static/win32/src/c32.mac"
|
||||
|
||||
; ==========================================================================================
|
||||
; GLOBAL UNINITIALIZED DATA
|
||||
; ==========================================================================================
|
||||
|
||||
[SEGMENT .data use32 align=32]
|
||||
|
||||
; ==========================================================================================
|
||||
; CODE
|
||||
; ==========================================================================================
|
||||
|
||||
[SEGMENT .text use32 align=32]
|
||||
|
||||
; =================================================================================================================================
|
||||
; int FMOD_OS_SupportsSSE
|
||||
; =================================================================================================================================
|
||||
proc FMOD_OS_SupportsSSE
|
||||
|
||||
push ebx
|
||||
push ecx
|
||||
push edx
|
||||
push esi
|
||||
push edi
|
||||
|
||||
mov eax, 1
|
||||
cpuid
|
||||
test edx, 02000000h
|
||||
jnz SSEFound
|
||||
mov eax, 0
|
||||
jmp SSETestEnd
|
||||
SSEFound:
|
||||
mov eax, 1
|
||||
SSETestEnd:
|
||||
|
||||
pop edi
|
||||
pop esi
|
||||
pop edx
|
||||
pop ecx
|
||||
pop ebx
|
||||
endproc
|
||||
Loading…
Add table
Add a link
Reference in a new issue