mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 03:55:33 +00:00
GPU/HW: Fix VRAM write dumping only first row
Still has race conditions.
This commit is contained in:
parent
dd180f2fd6
commit
6f3e9913f5
@ -2699,7 +2699,7 @@ void GPUTextureCache::DumpVRAMWrite(u32 width, u32 height, const void* pixels)
|
||||
|
||||
for (u32 y = 0; y < height; y++)
|
||||
{
|
||||
u8* row_ptr = image.GetPixels();
|
||||
u8* row_ptr = image.GetRowPixels(y);
|
||||
for (u32 x = 0; x < width; x++)
|
||||
{
|
||||
const u32 pixel32 = VRAMRGBA5551ToRGBA8888(*(src_pixels++));
|
||||
|
Loading…
x
Reference in New Issue
Block a user