From 7dd9901de22d6fff8306781773e9f35351383e04 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 19 Jun 2020 00:19:46 +0100 Subject: [PATCH] a32_emit_x64: Incorrect type in ExclusiveWriteMemory --- src/backend/x64/a32_emit_x64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/x64/a32_emit_x64.cpp b/src/backend/x64/a32_emit_x64.cpp index abfdddfb..b8088e26 100644 --- a/src/backend/x64/a32_emit_x64.cpp +++ b/src/backend/x64/a32_emit_x64.cpp @@ -1147,7 +1147,7 @@ void A32EmitX64::ExclusiveWriteMemory(A32EmitContext& ctx, IR::Inst* inst) { code.mov(code.ABI_PARAM1, reinterpret_cast(&conf)); code.CallLambda( [](A32::UserConfig& conf, u32 vaddr, T value) -> u32 { - return conf.global_monitor->DoExclusiveOperation(conf.processor_id, vaddr, + return conf.global_monitor->DoExclusiveOperation(conf.processor_id, vaddr, [&](T expected) -> bool { return (conf.callbacks->*callback)(vaddr, value, expected); }) ? 0 : 1;