[tests] fix compile+linking issues with PlayTime (#3345)

fixes linking + comp issues but not the test themselves, who have now became invalid

Signed-off-by: lizzie <lizzie@eden-emu.dev>

Co-authored-by: DraVee <caiooliveirafarias0@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3345
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-01-19 16:27:18 +01:00
committed by crueter
parent 8663d7fa41
commit b9da45cb1f
30 changed files with 98 additions and 83 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
@@ -13,6 +13,7 @@
#include <memory>
#include <mutex>
#include <vector>
#include <span>
#include "common/common_types.h"
#include "common/range_mutex.h"
@@ -123,7 +124,7 @@ public:
void UpdatePagesCachedCount(DAddr addr, size_t size, s32 delta);
// New batch API to update multiple ranges with a single lock acquisition.
void UpdatePagesCachedBatch(const std::vector<std::pair<DAddr, size_t>>& ranges, s32 delta);
void UpdatePagesCachedBatch(std::span<const std::pair<DAddr, size_t>> ranges, s32 delta);
private:
// Internal helper that performs the update assuming the caller already holds the necessary lock.