ITADN

cp15: Add assertions to DC_InvalidateRange()

#193Pull RequestAntonioND 创建于 2025-09-29
A
AntonioNDcommented
As mentioned in the commit changes: It's dangerous to invalidate a memory range. If the memory range isn't fully contained inside cache lines, invalidating it will also invalidate the variables around the range the caller wants to invalidate. This may cause unintended effects. I haven't applied this change yet because it will need more testing, but it will be merged over the next few days (it may even find issues in libnds...).
合并状态:未合并 4 条评论