From 1707c8818a75f33cf063f01ef47cb91b1bd094de Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Fri, 15 Jan 2021 00:06:21 -0500 Subject: [PATCH] Fix broken sprite rendering in the VRAM viewer due to mis-calculation of image data size. --- Cocoa/Document.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cocoa/Document.m b/Cocoa/Document.m index 0beceab..305eac1 100644 --- a/Cocoa/Document.m +++ b/Cocoa/Document.m @@ -1692,7 +1692,7 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency) switch (columnIndex) { case 0: return [Document imageFromData:[NSData dataWithBytesNoCopy:oamInfo[row].image - length:64 * 4 + length:64 * 4 * 2 freeWhenDone:NO] width:8 height:oamHeight