BizHawk/BizHawk.Emulation.Common/Interfaces/IVideoProvider.cs

14 lines
337 B
C#
Raw Normal View History

namespace BizHawk.Emulation.Common
{
public interface IVideoProvider
{
int[] GetVideoBuffer();
int VirtualWidth { get; } // Used for controlling aspect ratio. Just return BufferWidth if you dont know what to do with this.
int BufferWidth { get; }
int BufferHeight { get; }
int BackgroundColor { get; }
}
}