2011-08-04 03:20:54 +00:00
|
|
|
|
namespace BizHawk
|
2011-06-11 22:15:08 +00:00
|
|
|
|
{
|
|
|
|
|
public class CoreInputComm
|
|
|
|
|
{
|
|
|
|
|
public int NES_BackdropColor;
|
|
|
|
|
public bool NES_UnlimitedSprites;
|
|
|
|
|
public bool NES_ShowBG, NES_ShowOBJ;
|
2012-03-11 09:51:23 +00:00
|
|
|
|
public bool PCE_ShowBG1, PCE_ShowOBJ1, PCE_ShowBG2, PCE_ShowOBJ2;
|
2012-03-11 16:15:20 +00:00
|
|
|
|
public bool SMS_ShowBG, SMS_ShowOBJ;
|
2012-09-04 19:12:16 +00:00
|
|
|
|
|
2012-09-27 07:22:31 +00:00
|
|
|
|
public string SNES_FirmwarePath;
|
2012-09-04 19:12:16 +00:00
|
|
|
|
public bool SNES_ShowBG1_0, SNES_ShowBG2_0, SNES_ShowBG3_0, SNES_ShowBG4_0;
|
|
|
|
|
public bool SNES_ShowBG1_1, SNES_ShowBG2_1, SNES_ShowBG3_1, SNES_ShowBG4_1;
|
|
|
|
|
public bool SNES_ShowOBJ_0, SNES_ShowOBJ_1, SNES_ShowOBJ_2, SNES_ShowOBJ_3;
|
2012-09-16 19:38:08 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// if this is set, then the cpu should dump trace info to CpuTraceStream
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool CpuTraceEnable;
|
|
|
|
|
public System.IO.StreamWriter CpuTraceStream;
|
2011-06-11 22:15:08 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class CoreOutputComm
|
|
|
|
|
{
|
2012-07-11 21:37:35 +00:00
|
|
|
|
public double VsyncRate
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return VsyncNum / (double)VsyncDen;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public int VsyncNum = 60;
|
|
|
|
|
public int VsyncDen = 1;
|
2011-07-10 21:00:28 +00:00
|
|
|
|
public string RomStatusAnnotation;
|
|
|
|
|
public string RomStatusDetails;
|
2012-09-16 19:38:08 +00:00
|
|
|
|
|
2012-09-20 00:22:24 +00:00
|
|
|
|
public int ScreenLogicalOffsetX, ScreenLogicalOffsetY;
|
2011-06-11 22:15:08 +00:00
|
|
|
|
}
|
2012-03-11 06:50:46 +00:00
|
|
|
|
}
|