Skip to content

Commit

Permalink
GPU/HW: Fix VRAM write dumping only first row
Browse files Browse the repository at this point in the history
Still has race conditions.
  • Loading branch information
stenzek committed Dec 25, 2024
1 parent dd180f2 commit 6f3e991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/gpu_hw_texture_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++));
Expand Down

0 comments on commit 6f3e991

Please sign in to comment.