mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add another missing check for VRAM address before swizzling media
This commit is contained in:
parent
e848247f88
commit
23004409bd
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ int MediaEngine::writeVideoImageWithRange(u32 bufferPtr, int frameWidth, int vid
|
|||
}
|
||||
|
||||
int videoImageSize = videoLineSize * height;
|
||||
bool swizzle = (bufferPtr & 0x00200000) == 0x00200000;
|
||||
bool swizzle = Memory::IsVRAMAddress(bufferPtr) && (bufferPtr & 0x00200000) == 0x00200000;
|
||||
if (swizzle) {
|
||||
imgbuf = new u8[videoImageSize];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue