me and clang are not friends

This commit is contained in:
kalaposfos13 2026-03-02 18:19:15 +01:00
parent a1451ab0a5
commit 4f323892cd
3 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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<InputEvent, bool>& e, InputID i) {
return e.first.input < i;
});
auto it = std::lower_bound(
pressed_keys.begin(), pressed_keys.end(), input,
[](const std::pair<InputEvent, bool>& 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);

View File

@ -902,7 +902,8 @@ template <bool is_indirect>
Liverpool::Task Liverpool::ProcessCompute(std::span<const u32> 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;