mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-16 04:07:28 +01:00
yuzu/util: Replace lock_guard with scoped_lock
This commit is contained in:
1 parent
41af59a6cb
commit
833b9e5fb8
1 file changed
+1
-1
@@ -39,7 +39,7 @@ void ControllerNavigation::TriggerButton(Settings::NativeButton::Values native_b
|
||||
}
|
||||
|
||||
void ControllerNavigation::ControllerUpdateEvent(Core::HID::ControllerTriggerType type) {
|
||||
std::lock_guard lock{mutex};
|
||||
std::scoped_lock lock{mutex};
|
||||
if (!Settings::values.controller_navigation) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user