@Roamic's hot region fix (#1570)

This commit is contained in:
georgemoralis 2024-11-22 14:53:16 +02:00 committed by GitHub
parent b56fbbaa9c
commit a3b4e733ba

View file

@ -362,7 +362,7 @@ bool BufferCache::IsRegionRegistered(VAddr addr, size_t size) {
if (buf_start_addr < end_addr && addr < buf_end_addr) {
return true;
}
page = Common::DivCeil(end_addr, CACHING_PAGESIZE);
page = Common::DivCeil(buf_end_addr, CACHING_PAGESIZE);
}
return false;
}