texture corruption resulting from misaligned page unprotection
This commit is contained in:
parent
49b49c5207
commit
862d892e89
|
@ -244,7 +244,7 @@ bool VramLockedWriteOffset(size_t offset)
|
|||
}
|
||||
list->clear();
|
||||
|
||||
_vmem_unprotect_vram((u32)offset, PAGE_SIZE);
|
||||
_vmem_unprotect_vram((u32)(offset & ~PAGE_MASK), PAGE_SIZE);
|
||||
|
||||
vramlist_lock.Unlock();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue