2019-04-16 15:10:56 +00:00
|
|
|
|
using System;
|
|
|
|
|
using BizHawk.Common.BufferExtensions;
|
|
|
|
|
using BizHawk.Emulation.Common;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Emulation.Cores.Consoles.ChannelF
|
|
|
|
|
{
|
2019-04-17 21:28:12 +00:00
|
|
|
|
public partial class ChannelF : IVideoProvider, IRegionable
|
2019-04-16 15:10:56 +00:00
|
|
|
|
{
|
|
|
|
|
public int _frameHz = 60;
|
|
|
|
|
|
|
|
|
|
public int[] _vidbuffer = new int[102 * 58];
|
|
|
|
|
|
|
|
|
|
public int[] GetVideoBuffer()
|
|
|
|
|
{
|
|
|
|
|
return _vidbuffer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int VirtualWidth => 102 * 2;
|
|
|
|
|
public int VirtualHeight => 58 * 2;
|
|
|
|
|
public int BufferWidth => 102;
|
|
|
|
|
public int BufferHeight => 58;
|
|
|
|
|
public int BackgroundColor => unchecked((int)0xFF000000);
|
|
|
|
|
public int VsyncNumerator => _frameHz;
|
|
|
|
|
public int VsyncDenominator => 1;
|
2019-04-17 21:28:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region IRegionable
|
|
|
|
|
|
|
|
|
|
public DisplayType Region => DisplayType.NTSC;
|
|
|
|
|
|
|
|
|
|
#endregion
|
2019-04-16 15:10:56 +00:00
|
|
|
|
}
|
|
|
|
|
}
|