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:
Lior Halphon 2021-01-15 13:39:07 +02:00 committed by GitHub
commit 0b8ee0585a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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