summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsTargetGroup.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-08-09 19:42:59 +0200
committerJosJuice <josjuice@gmail.com>2026-08-09 20:20:53 +0200
commitd2f7ed3602be867051639dcee2c660a1879d0b97 (patch)
tree145eb72e8201983c407eea78999c27cb146835f7 /Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsTargetGroup.h
parentcd3ea814628d36939340ef67a6edb19e6b094279 (diff)
Common: Fix LazyMemoryRegion::EnsureMemoryPagesWritable
If (offset + size) % BLOCK_SIZE was smaller than offset % BLOCK_SIZE, the loop terminated one iteration too early, potentially leaving a block read-only. None of the existing users of LazyMemoryRegion could trigger this bug, because they never made EnsureMemoryPagesWritable calls that straddled across two blocks, but the next commit will add a new use that does.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsTargetGroup.h')
0 files changed, 0 insertions, 0 deletions