BizHawk/BizHawk.MultiClient/PCEtools/PCEGraphicsConfig.cs

42 lines
1017 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BizHawk.Emulation.Consoles.TurboGrafx;
namespace BizHawk.MultiClient
{
public partial class PCEGraphicsConfig : Form
{
PCEngine pce;
public PCEGraphicsConfig()
{
InitializeComponent();
}
private void PCEGraphicsConfig_Load(object sender, EventArgs e)
{
pce = Global.Emulator as PCEngine;
DispOBJ1.Checked = Global.Config.PCEDispOBJ1;
DispBG1.Checked = Global.Config.PCEDispBG1;
DispOBJ2.Checked = Global.Config.PCEDispOBJ2;
DispBG2.Checked = Global.Config.PCEDispBG2;
}
private void OK_Click(object sender, EventArgs e)
{
Global.Config.PCEDispOBJ1 = DispOBJ1.Checked;
Global.Config.PCEDispBG1 = DispBG1.Checked;
Global.Config.PCEDispOBJ2 = DispOBJ2.Checked;
Global.Config.PCEDispBG2 = DispBG2.Checked;
this.Close();
}
}
}