From 48a5c4211cea18db8cc72ce1847ec9e3ca1fbfc1 Mon Sep 17 00:00:00 2001 From: Nolan Check Date: Mon, 13 Jul 2009 16:32:51 +0000 Subject: [PATCH] Fix 32-bit Windows build git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3785 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/Atomic_Win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/Atomic_Win32.h b/Source/Core/Common/Src/Atomic_Win32.h index c79853db36..cd8b22075d 100644 --- a/Source/Core/Common/Src/Atomic_Win32.h +++ b/Source/Core/Common/Src/Atomic_Win32.h @@ -43,7 +43,7 @@ namespace Common { inline void AtomicAdd(volatile u32& target, u32 value) { - InterlockedAdd((volatile LONG*)&target, (LONG)value); + InterlockedExchangeAdd((volatile LONG*)&target, (LONG)value); } inline void AtomicIncrement(volatile u32& target) {