mirror of https://github.com/bsnes-emu/bsnes.git
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) {
|
switch (columnIndex) {
|
||||||
case 0:
|
case 0:
|
||||||
return [Document imageFromData:[NSData dataWithBytesNoCopy:oamInfo[row].image
|
return [Document imageFromData:[NSData dataWithBytesNoCopy:oamInfo[row].image
|
||||||
length:64 * 4
|
length:64 * 4 * 2
|
||||||
freeWhenDone:NO]
|
freeWhenDone:NO]
|
||||||
width:8
|
width:8
|
||||||
height:oamHeight
|
height:oamHeight
|
||||||
|
|
Loading…
Reference in New Issue