30 lines
659 B
C#
30 lines
659 B
C#
using BizHawk.Emulation.Common;
|
|
|
|
namespace BizHawk.Emulation.Cores.Nintendo.SNES
|
|
{
|
|
public partial class LibsnesCore : IVideoProvider
|
|
{
|
|
public int VirtualWidth => (int)(_videoWidth * 1.146);
|
|
|
|
public int VirtualHeight => _videoHeight;
|
|
|
|
public int BufferWidth => _videoWidth;
|
|
|
|
public int BufferHeight => _videoHeight;
|
|
|
|
public int BackgroundColor => 0;
|
|
|
|
public int[] GetVideoBuffer()
|
|
{
|
|
return _videoBuffer;
|
|
}
|
|
|
|
public int VsyncNumerator { get; }
|
|
public int VsyncDenominator { get; }
|
|
|
|
private int[] _videoBuffer = new int[256 * 224];
|
|
private int _videoWidth = 256;
|
|
private int _videoHeight = 224;
|
|
}
|
|
}
|