|
|
@ -29,6 +29,8 @@ RasterizerAccelerated::RasterizerAccelerated(Memory& cpu_memory_) : map{}, cpu_m
|
|
|
|
RasterizerAccelerated::~RasterizerAccelerated() = default;
|
|
|
|
RasterizerAccelerated::~RasterizerAccelerated() = default;
|
|
|
|
|
|
|
|
|
|
|
|
void RasterizerAccelerated::UpdatePagesCachedCount(VAddr addr, u64 size, bool cache) {
|
|
|
|
void RasterizerAccelerated::UpdatePagesCachedCount(VAddr addr, u64 size, bool cache) {
|
|
|
|
|
|
|
|
std::scoped_lock lk{map_lock};
|
|
|
|
|
|
|
|
|
|
|
|
// Align sizes.
|
|
|
|
// Align sizes.
|
|
|
|
addr = Common::AlignDown(addr, YUZU_PAGESIZE);
|
|
|
|
addr = Common::AlignDown(addr, YUZU_PAGESIZE);
|
|
|
|
size = Common::AlignUp(size, YUZU_PAGESIZE);
|
|
|
|
size = Common::AlignUp(size, YUZU_PAGESIZE);
|
|
|
|