2012-03-11 15:12:48 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2013-10-25 00:57:23 +00:00
|
|
|
|
using BizHawk.Client.Common;
|
2013-12-22 05:58:24 +00:00
|
|
|
|
using BizHawk.Emulation.Cores.PCEngine;
|
2013-10-25 00:57:23 +00:00
|
|
|
|
|
2013-11-03 03:54:37 +00:00
|
|
|
|
namespace BizHawk.Client.EmuHawk
|
2012-03-11 15:12:48 +00:00
|
|
|
|
{
|
|
|
|
|
public partial class PCEGraphicsConfig : Form
|
|
|
|
|
{
|
|
|
|
|
public PCEGraphicsConfig()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PCEGraphicsConfig_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
2013-12-22 05:58:24 +00:00
|
|
|
|
PCEngine.PCESettings s = (PCEngine.PCESettings)Global.Emulator.GetSettings();
|
|
|
|
|
|
|
|
|
|
DispOBJ1.Checked = s.ShowOBJ1;
|
|
|
|
|
DispBG1.Checked = s.ShowBG1;
|
|
|
|
|
DispOBJ2.Checked = s.ShowOBJ2;
|
|
|
|
|
DispBG2.Checked = s.ShowBG2;
|
2012-03-11 15:12:48 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OK_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2013-12-22 05:58:24 +00:00
|
|
|
|
PCEngine.PCESettings s = (PCEngine.PCESettings)Global.Emulator.GetSettings();
|
|
|
|
|
s.ShowOBJ1 = DispOBJ1.Checked;
|
|
|
|
|
s.ShowBG1 = DispBG1.Checked;
|
|
|
|
|
s.ShowOBJ2 = DispOBJ2.Checked;
|
|
|
|
|
s.ShowBG2 = DispBG2.Checked;
|
|
|
|
|
Global.Emulator.PutSettings(s);
|
2013-04-15 02:14:14 +00:00
|
|
|
|
Close();
|
2012-03-11 15:12:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|