2012-03-11 17:08:25 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2013-10-25 00:57:23 +00:00
|
|
|
|
using BizHawk.Client.Common;
|
2013-12-24 01:06:17 +00:00
|
|
|
|
using BizHawk.Emulation.Cores.Sega.MasterSystem;
|
2013-10-25 00:57:23 +00:00
|
|
|
|
|
2013-11-03 03:54:37 +00:00
|
|
|
|
namespace BizHawk.Client.EmuHawk
|
2012-03-11 17:08:25 +00:00
|
|
|
|
{
|
|
|
|
|
public partial class SMSGraphicsConfig : Form
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public SMSGraphicsConfig()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SMSGraphicsConfig_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
2013-12-24 01:06:17 +00:00
|
|
|
|
var s = (SMS.SMSSettings)Global.Emulator.GetSettings();
|
|
|
|
|
DispOBJ.Checked = s.DispOBJ;
|
|
|
|
|
DispBG.Checked = s.DispBG;
|
2012-03-11 17:08:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OK_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2013-12-24 01:06:17 +00:00
|
|
|
|
var s = (SMS.SMSSettings)Global.Emulator.GetSettings();
|
|
|
|
|
s.DispOBJ = DispOBJ.Checked;
|
|
|
|
|
s.DispBG = DispBG.Checked;
|
|
|
|
|
GlobalWin.MainForm.PutCoreSettings(s);
|
2013-04-15 02:14:14 +00:00
|
|
|
|
Close();
|
2012-03-11 17:08:25 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|