Gido MEOW

This commit is contained in:
CamilleLaVey 2026-04-02 23:50:34 -04:00 committed by crueter
parent 2e90822686
commit c515a6bf83
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

View file

@ -2050,7 +2050,7 @@ std::pair<u32, u32> TextureCache<P>::PrepareDmaImage(ImageId dst_id, GPUVAddr ba
const auto& image = slot_images[dst_id];
const auto base = image.TryFindBase(base_addr);
PrepareImage(dst_id, mark_as_modified, false);
const auto& new_image = slot_images[dst_id];
auto& new_image = slot_images[dst_id];
new_image.last_use_tick = frame_tick;
return std::make_pair(base->level, base->layer);
}