From baaa1c3ec2804301cf96e582361f9bdb9f4c2df4 Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 21 Oct 2015 19:38:25 -0500 Subject: [PATCH] use proper SNES PAR --- BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs | 2 +- BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs index b7a2e4c6ae..534d2c8ae8 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs @@ -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; } } diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs index e8815b9695..8f5fe4ed2c 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs @@ -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; } }