mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
graphics: skip temporary cache lookup vectors
This commit is contained in:
+2
-2
@@ -1334,8 +1334,8 @@ ImageId TextureCache::FindImageFromRange(uint64_t address, uint64_t size, bool e
|
||||
if (!GuestRange {address, size}.Valid()) {
|
||||
return {};
|
||||
}
|
||||
std::scoped_lock lock {m_lock};
|
||||
std::vector<ImageId> matches;
|
||||
std::scoped_lock lock {m_lock};
|
||||
ImageIds matches;
|
||||
for (const auto id: FindImagesInRegion(address, size, false)) {
|
||||
auto owner = m_slot_images.try_get(id);
|
||||
if (owner == nullptr || owner->info.data.address != address) {
|
||||
|
||||
Reference in New Issue
Block a user