[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
|
|
@ -1,3 +1,6 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
|
|
@ -539,7 +542,7 @@ public:
|
|||
}
|
||||
|
||||
void ClearDpc(DpcFlag flag) {
|
||||
this->GetStackParameters().dpc_flags &= ~static_cast<u8>(flag);
|
||||
this->GetStackParameters().dpc_flags &= static_cast<u8>(~static_cast<u8>(flag));
|
||||
}
|
||||
|
||||
u8 GetDpc() const {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
|
|
@ -112,7 +115,7 @@ void NintendoFigurineDatabase::CleanDatabase() {
|
|||
|
||||
void NintendoFigurineDatabase::CorruptCrc() {
|
||||
crc = GenerateDatabaseCrc();
|
||||
crc = ~crc;
|
||||
crc = static_cast<u16>(~crc);
|
||||
}
|
||||
|
||||
Result NintendoFigurineDatabase::CheckIntegrity() {
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue