Double check upload/download are VRAM addresses.
This commit is contained in:
parent
5925fa32e8
commit
ef390c5c40
2 changed files with 9 additions and 3 deletions
|
@ -982,7 +982,7 @@ void FramebufferManager::DoSetRenderFrameBuffer() {
|
|||
|
||||
u32 byteSize = FramebufferByteSize(vfb);
|
||||
u32 fb_address_mem = (fb_address & 0x3FFFFFFF) | 0x04000000;
|
||||
if (fb_address_mem + byteSize > framebufRangeEnd_) {
|
||||
if (Memory::IsVRAMAddress(fb_address_mem) && fb_address_mem + byteSize > framebufRangeEnd_) {
|
||||
framebufRangeEnd_ = fb_address_mem + byteSize;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue