GPU/HW: Fix VRAM write dumping only first row

Still has race conditions.
This commit is contained in:
Stenzek 2024-12-25 15:35:59 +10:00
parent dd180f2fd6
commit 6f3e9913f5
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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++));