mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-25 09:39:07 +02:00
[meta] fix building with clang 21.1.4 (#2839)
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2839 Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Co-committed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
This commit is contained in:
parent
683c2834aa
commit
0be29d2947
3 changed files with 9 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ Result NpadVibration::SetSettingsService(
|
|||
Result NpadVibration::SetVibrationMasterVolume(f32 master_volume) {
|
||||
std::scoped_lock lock{mutex};
|
||||
|
||||
if (master_volume < 0.0f && master_volume > 1.0f) {
|
||||
if (master_volume < 0.0f || master_volume > 1.0f) {
|
||||
return ResultVibrationStrengthOutOfRange;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue