[icc] fix intel c++ compiler errors (#146)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/146
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-07-30 20:59:28 +02:00 committed by crueter
parent ff44444bda
commit 9e0e31132a
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
9 changed files with 125 additions and 114 deletions

View file

@ -1,3 +1,5 @@
// 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
@ -249,7 +251,7 @@ void InputEngine::ResetButtonState() {
void InputEngine::ResetAnalogState() {
for (const auto& controller : controller_list) {
for (const auto& axis : controller.second.axes) {
SetAxis(controller.first, axis.first, 0.0);
SetAxis(controller.first, axis.first, 0.0f);
}
}
}