1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

rsx: fix possible segfault

This commit is contained in:
Megamouse 2021-11-15 18:30:44 +01:00
parent 026efd96b2
commit 4d0330bf82

View File

@ -3055,7 +3055,7 @@ namespace rsx
blitter.scale_image(cmd, vram_texture, dest_texture, src_area, dst_area, interpolate, typeless_info); blitter.scale_image(cmd, vram_texture, dest_texture, src_area, dst_area, interpolate, typeless_info);
} }
else else if (cached_dest)
{ {
cached_dest->dma_transfer(cmd, vram_texture, src_area, dst_range, dst.pitch); cached_dest->dma_transfer(cmd, vram_texture, src_area, dst_range, dst.pitch);
} }