From 4f323892cdc587182f667b47de1becbe2227c289 Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Mon, 2 Mar 2026 18:19:15 +0100 Subject: [PATCH] me and clang are not friends --- src/core/libraries/network/net_resolver.cpp | 2 +- src/input/input_handler.cpp | 7 +++---- src/video_core/amdgpu/liverpool.cpp | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/libraries/network/net_resolver.cpp b/src/core/libraries/network/net_resolver.cpp index b3a9f1300..ffb75ffa3 100644 --- a/src/core/libraries/network/net_resolver.cpp +++ b/src/core/libraries/network/net_resolver.cpp @@ -5,8 +5,8 @@ #include "common/config.h" #include "common/singleton.h" #include "common/types.h" -#include "core/libraries/error_codes.h" #include "core/emulator_settings.h" +#include "core/libraries/error_codes.h" #include "net_error.h" #include "net_resolver.h" #include "net_util.h" diff --git a/src/input/input_handler.cpp b/src/input/input_handler.cpp index af667c43c..9c18bc468 100644 --- a/src/input/input_handler.cpp +++ b/src/input/input_handler.cpp @@ -691,10 +691,9 @@ bool UpdatePressedKeys(InputEvent event) { if (input.type == InputType::Axis) { // analog input, it gets added when it first sends an event, // and from there, it only changes the parameter - auto it = std::lower_bound(pressed_keys.begin(), pressed_keys.end(), input, - [](const std::pair& e, InputID i) { - return e.first.input < i; - }); + auto it = std::lower_bound( + pressed_keys.begin(), pressed_keys.end(), input, + [](const std::pair& e, InputID i) { return e.first.input < i; }); if (it == pressed_keys.end() || it->first.input != input) { pressed_keys.insert(it, {event, false}); LOG_DEBUG(Input, "Added axis {} to the input list", event.input.sdl_id); diff --git a/src/video_core/amdgpu/liverpool.cpp b/src/video_core/amdgpu/liverpool.cpp index 8f63eb82d..68525d9f1 100644 --- a/src/video_core/amdgpu/liverpool.cpp +++ b/src/video_core/amdgpu/liverpool.cpp @@ -902,7 +902,8 @@ template Liverpool::Task Liverpool::ProcessCompute(std::span acb, u32 vqid) { FIBER_ENTER(acb_task_name[vqid]); auto& queue = asc_queues[{vqid}]; - const bool host_markers_enabled = rasterizer && EmulatorSettings::GetInstance()->IsVkHostMarkersEnabled(); + const bool host_markers_enabled = + rasterizer && EmulatorSettings::GetInstance()->IsVkHostMarkersEnabled(); struct IndirectPatch { const PM4Header* header;