diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-05-15 22:06:23 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-05-15 22:06:23 +0200 |
| commit | a1f9e68f46c729a49eeaec1a81d9ac26145d2509 (patch) | |
| tree | b4ece895291e16e29abc829b7b7ac62d1ae218a1 /src/video_core/surface.cpp | |
| parent | 02dee4a20b7edbe094e7428f3b4f59bacbaa043f (diff) | |
[hid_core] remove contentious mutex from EmulatedController and just rely on atomic semantics for fields (#3866)
inputs shouldnt be that critical to require a full mutex of them
this relies on CPU guaranteeing u32/u16/u8 atomic load/stores for EmulatedController fields, which works on x86_64 but may not have the same behaviour on other architectures - thats why i wrap them in `std::atomic<>`
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3866
Reviewed-by: crueter <crueter@eden-emu.dev>
Diffstat (limited to 'src/video_core/surface.cpp')
0 files changed, 0 insertions, 0 deletions
