diff --git a/src/core/gpu_hw_texture_cache.cpp b/src/core/gpu_hw_texture_cache.cpp index 94bcc2806..8dbf665ef 100644 --- a/src/core/gpu_hw_texture_cache.cpp +++ b/src/core/gpu_hw_texture_cache.cpp @@ -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++));