a32_emit_x64: Incorrect type in ExclusiveWriteMemory
This commit is contained in:
parent
87f6e412d0
commit
7dd9901de2
1 changed files with 1 additions and 1 deletions
|
@ -1147,7 +1147,7 @@ void A32EmitX64::ExclusiveWriteMemory(A32EmitContext& ctx, IR::Inst* inst) {
|
||||||
code.mov(code.ABI_PARAM1, reinterpret_cast<u64>(&conf));
|
code.mov(code.ABI_PARAM1, reinterpret_cast<u64>(&conf));
|
||||||
code.CallLambda(
|
code.CallLambda(
|
||||||
[](A32::UserConfig& conf, u32 vaddr, T value) -> u32 {
|
[](A32::UserConfig& conf, u32 vaddr, T value) -> u32 {
|
||||||
return conf.global_monitor->DoExclusiveOperation<u8>(conf.processor_id, vaddr,
|
return conf.global_monitor->DoExclusiveOperation<T>(conf.processor_id, vaddr,
|
||||||
[&](T expected) -> bool {
|
[&](T expected) -> bool {
|
||||||
return (conf.callbacks->*callback)(vaddr, value, expected);
|
return (conf.callbacks->*callback)(vaddr, value, expected);
|
||||||
}) ? 0 : 1;
|
}) ? 0 : 1;
|
||||||
|
|
Loading…
Reference in a new issue