mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
D3D9: Fix recent regression (crash)
This commit is contained in:
parent
73d3de7b0d
commit
81d741a5fe
@ -447,6 +447,7 @@ void D3D9Texture::SetImageData(int x, int y, int z, int width, int height, int d
|
||||
break;
|
||||
case DataFormat::A4R4G4B4_UNORM_PACK16:
|
||||
case DataFormat::A1R5G5B5_UNORM_PACK16:
|
||||
case DataFormat::R5G6B5_UNORM_PACK16:
|
||||
// Native
|
||||
if (data != rect.pBits)
|
||||
memcpy(dest, source, width * sizeof(uint16_t));
|
||||
|
Loading…
Reference in New Issue
Block a user