Fix broken sprite rendering in the VRAM viewer due to mis-calculation of image data size.
This commit is contained in:
parent
07e76a4ecf
commit
1707c8818a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user