snes9x: video output is now fully functional
This commit is contained in:
parent
34791d8589
commit
9bcd693910
|
@ -98,7 +98,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES9X
|
||||||
BufferWidth = frame.width;
|
BufferWidth = frame.width;
|
||||||
BufferHeight = frame.height;
|
BufferHeight = frame.height;
|
||||||
|
|
||||||
int vinc = frame.pitch - frame.width;
|
int vinc = frame.pitch / sizeof(ushort) - frame.width;
|
||||||
|
|
||||||
ushort* src = (ushort*)frame.ptr;
|
ushort* src = (ushort*)frame.ptr;
|
||||||
fixed (int* _dst = _vbuff)
|
fixed (int* _dst = _vbuff)
|
||||||
|
|
Loading…
Reference in New Issue