[RV64_DYNAREC] Set the log level to Info for the LOCK CMPXCHG16B warning, to avoid breaking winetricks

This commit is contained in:
ptitSeb 2024-08-18 15:57:14 +02:00
parent c384d53d75
commit f1da5d433a

View File

@ -288,7 +288,7 @@ uintptr_t dynarec64_F0(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int ni
if (rex.w) {
INST_NAME("LOCK CMPXCHG16B Gq, Eq");
static int warned = 0;
PASS3(if (!warned) dynarec_log(LOG_NONE, "Warning, LOCK CMPXCHG16B is not well supported on RISC-V and issues are expected.\n"));
PASS3(if (!warned) dynarec_log(LOG_INFO, "Warning, LOCK CMPXCHG16B is not well supported on RISC-V and issues are expected.\n"));
warned = 1;
} else {
INST_NAME("LOCK CMPXCHG8B Gq, Eq");