mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 03:03:45 +00:00
Fix MSVC compiler errors with the atomics
This commit is contained in:
parent
342614a6ec
commit
bacf327246
1 changed files with 2 additions and 2 deletions
|
@ -1538,10 +1538,10 @@ namespace BC7C
|
|||
}
|
||||
|
||||
static uint32 FetchAndAdd(uint32 *x) {
|
||||
return InterlockedIncrement(x);
|
||||
return InterlockedIncrement(x)-1;
|
||||
}
|
||||
|
||||
static void ResetTestAndSet(uint *x) {
|
||||
static void ResetTestAndSet(uint32 *x) {
|
||||
*x = 0;
|
||||
}
|
||||
#elif defined HAS_GCC_ATOMICS
|
||||
|
|
Loading…
Reference in a new issue