yuzu-emu
/
yuzu
Archived
1
0
Fork 0

yuzu/util: Replace lock_guard with scoped_lock

This commit is contained in:
Merry 2022-04-07 19:32:59 +01:00
parent 3cf6593342
commit 4778656110
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}