okay, now i know what's wrong and i fixed 1/2 of it. 1 bss was not null, fixed 2 bink uses seh internally, some videos fail where BinkDoFrame would return 1 or whatever the code was

This commit is contained in:
maksw committed 2025-10-15 19:59:43 +02:00
1 parent 8c002299dd
commit 502c8dedf6
138 files changed
+24170 -1006

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
.code
; void enable_avx2()
enable_avx2 PROC
; Set CR4.OSXSAVE (bit 18)
mov rax, cr4
or eax, 40000h ; set bit 18
mov cr4, rax
; Read XCR0 (xgetbv, ecx=0)
xor ecx, ecx
xgetbv
; Enable XMM (bit 0) and YMM (bit 1)
or eax, 6
; Write XCR0 (xsetbv, ecx=0)
xor ecx, ecx
xsetbv
ret
enable_avx2 ENDP
END