use proper SNES PAR

This commit is contained in:
zeromus 2015-10-21 19:38:25 -05:00
parent d92d39f515
commit baaa1c3ec2
2 changed files with 2 additions and 2 deletions

View File

@ -679,7 +679,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
//video provider
int IVideoProvider.BackgroundColor { get { return 0; } }
int[] IVideoProvider.GetVideoBuffer() { return vidBuffer; }
int IVideoProvider.VirtualWidth { get { return vidWidth; } }
int IVideoProvider.VirtualWidth { get { return (int)(vidWidth * 1.146); } }
public int VirtualHeight { get { return vidHeight; } }
int IVideoProvider.BufferWidth { get { return vidWidth; } }
int IVideoProvider.BufferHeight { get { return vidHeight; } }

View File

@ -64,7 +64,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES9X
private int[] _vbuff = new int[512 * 480];
public int[] GetVideoBuffer() { return _vbuff; }
public int VirtualWidth
{ get { return BufferWidth; } }
{ get { return (int)(BufferWidth * 1.146); ; } }
public int VirtualHeight { get { return BufferHeight; } }
public int BufferWidth { get { return 256; } }
public int BufferHeight { get { return 224; } }