Fix broken sprite rendering in the VRAM viewer due to mis-calculation of image data size.

This commit is contained in:
Jeff Verkoeyen 2021-01-15 00:06:21 -05:00
parent 07e76a4ecf
commit 1707c8818a
1 changed files with 1 additions and 1 deletions

View File

@ -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