Merge pull request #329 from jverkoey/spritebug
Fix broken sprite rendering in the VRAM viewer due to mis-calculation of image data size.
This commit is contained in:
commit
0b8ee0585a
@ -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