Disable strict checks for newer versions of xbyak

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin 2025-09-09 21:04:39 +02:00
parent 91a80afb4b
commit 678cb591fd
No known key found for this signature in database
GPG Key ID: DACFAC4EA0B194E0
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ if ("A64" IN_LIST DYNARMIC_FRONTENDS)
endif()
if ("x86_64" IN_LIST ARCHITECTURE)
# Newer versions of xbyak (>= 7.25.0) have stricter checks that currently
# fail in dynarmic
target_compile_definitions(dynarmic PRIVATE XBYAK_STRICT_CHECK_MEM_REG_SIZE=0)
target_compile_definitions(dynarmic PRIVATE XBYAK_OLD_DISP_CHECK=1)
target_link_libraries(dynarmic
PRIVATE