diff options
| author | nyanpasu64 <nyanpasu64@tuta.io> | 2022-03-27 22:25:40 -0700 |
|---|---|---|
| committer | nyanpasu64 <nyanpasu64@tuta.io> | 2022-03-27 22:27:57 -0700 |
| commit | 871b01a5d91f2812f98b6ed58f024713e3b1ebe1 (patch) | |
| tree | b22c0edc5f6b433db5e14ccac8aea182f7d3b487 /Source/Core/InputCommon/GCAdapter_Android.cpp | |
| parent | c08a23b374b852f6a7db8a31996ab4ce52f08805 (diff) | |
Remove unnecessary atomic usage in GCAdapter.cpp
You can safely read or write non-atomic integers on multiple threads,
as long as every thread reading or writing it holds the same mutex
while doing so (here, s_mutex).
Removing the atomic accesses makes the code faster, but the actual
performance difference is probably negligible.
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter_Android.cpp')
0 files changed, 0 insertions, 0 deletions
