remove some DGB/GB3x/GB4x remnants
This commit is contained in:
parent
83a5632759
commit
e0ffd45983
|
@ -78,13 +78,13 @@
|
|||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=CRC/@EntryIndexedValue">CRC</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DB/@EntryIndexedValue">DB</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DC/@EntryIndexedValue">DC</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DGB/@EntryIndexedValue">DGB</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DMG/@EntryIndexedValue">DMG</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DS/@EntryIndexedValue">DS</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DX/@EntryIndexedValue">DX</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GB/@EntryIndexedValue">GB</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GBA/@EntryIndexedValue">GBA</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GBC/@EntryIndexedValue">GBC</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GBL/@EntryIndexedValue">GBL</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GG/@EntryIndexedValue">GG</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GL/@EntryIndexedValue">GL</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GPGX/@EntryIndexedValue">GPGX</s:String>
|
||||
|
|
|
@ -189,7 +189,7 @@ namespace BizHawk.DATTool
|
|||
PCFX,
|
||||
PCECD,
|
||||
GB,
|
||||
DGB,
|
||||
GBL,
|
||||
AppleII,
|
||||
C64,
|
||||
ZXSpectrum,
|
||||
|
@ -215,8 +215,6 @@ namespace BizHawk.DATTool
|
|||
NGP,
|
||||
ChannelF,
|
||||
VEC,
|
||||
GB3x,
|
||||
GB4x,
|
||||
O2,
|
||||
MSX,
|
||||
NDS
|
||||
|
|
|
@ -135,9 +135,9 @@
|
|||
<Compile Update="config/GB/ColorChooserForm.cs" SubType="Form" />
|
||||
<Compile Update="config/GB/ColorChooserForm.Designer.cs" DependentUpon="ColorChooserForm.cs" />
|
||||
<EmbeddedResource Update="config/GB/ColorChooserForm.resx" DependentUpon="ColorChooserForm.cs" />
|
||||
<Compile Update="config/GB/DGBPrefs.cs" SubType="Form" />
|
||||
<Compile Update="config/GB/DGBPrefs.Designer.cs" DependentUpon="DGBPrefs.cs" />
|
||||
<EmbeddedResource Update="config/GB/DGBPrefs.resx" DependentUpon="DGBPrefs.cs" />
|
||||
<Compile Update="config\GB\GBLPrefs.cs" SubType="Form" />
|
||||
<Compile Update="config\GB\GBLPrefs.Designer.cs" DependentUpon="GBLPrefs.cs" />
|
||||
<EmbeddedResource Update="config\GB\GBLPrefs.resx" DependentUpon="GBLPrefs.cs" />
|
||||
<Compile Update="config/GB/GBPrefControl.cs" SubType="UserControl" />
|
||||
<Compile Update="config/GB/GBPrefControl.Designer.cs" DependentUpon="GBPrefControl.cs" />
|
||||
<EmbeddedResource Update="config/GB/GBPrefControl.resx" DependentUpon="GBPrefControl.cs" />
|
||||
|
|
|
@ -1749,7 +1749,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
if (Emulator is GambatteLink gambatte)
|
||||
{
|
||||
DGBPrefs.DoDGBPrefsDialog(this, Config, Game, MovieSession, gambatte);
|
||||
GBLPrefs.DoGBLPrefsDialog(this, Config, Game, MovieSession, gambatte);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
partial class DGBPrefs
|
||||
partial class GBLPrefs
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
|
@ -163,7 +163,7 @@
|
|||
this.buttonOK.Text = "OK";
|
||||
this.buttonOK.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// DGBPrefs
|
||||
// GBLPrefs
|
||||
//
|
||||
this.AcceptButton = this.buttonOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
@ -173,7 +173,7 @@
|
|||
this.Controls.Add(this.buttonOK);
|
||||
this.Controls.Add(this.buttonCancel);
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.Name = "DGBPrefs";
|
||||
this.Name = "GBLPrefs";
|
||||
this.Text = "Gameboy Link Settings";
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
|
@ -5,7 +5,7 @@ using BizHawk.Emulation.Cores.Nintendo.Gameboy;
|
|||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public partial class DGBPrefs : Form, IDialogParent
|
||||
public partial class GBLPrefs : Form, IDialogParent
|
||||
{
|
||||
private readonly Config _config;
|
||||
private readonly IGameInfo _game;
|
||||
|
@ -13,7 +13,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
public IDialogController DialogController { get; }
|
||||
|
||||
private DGBPrefs(IDialogController dialogController, Config config, IGameInfo game, IMovieSession movieSession)
|
||||
private GBLPrefs(IDialogController dialogController, Config config, IGameInfo game, IMovieSession movieSession)
|
||||
{
|
||||
_config = config;
|
||||
_game = game;
|
||||
|
@ -48,12 +48,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private bool SyncSettingsChanged => gbPrefControl1.SyncSettingsChanged || gbPrefControl2.SyncSettingsChanged || gbPrefControl3.SyncSettingsChanged || gbPrefControl4.SyncSettingsChanged;
|
||||
|
||||
public static void DoDGBPrefsDialog(IMainFormForConfig mainForm, Config config, IGameInfo game, IMovieSession movieSession, GambatteLink gambatte)
|
||||
public static void DoGBLPrefsDialog(IMainFormForConfig mainForm, Config config, IGameInfo game, IMovieSession movieSession, GambatteLink gambatte)
|
||||
{
|
||||
var s = gambatte.GetSettings();
|
||||
var ss = gambatte.GetSyncSettings();
|
||||
|
||||
using var dlg = new DGBPrefs(mainForm.DialogController, config, game, movieSession);
|
||||
using var dlg = new GBLPrefs(mainForm.DialogController, config, game, movieSession);
|
||||
dlg.PutSettings(s, ss);
|
||||
|
||||
dlg.gbPrefControl1.ColorGameBoy = gambatte.IsCGBMode(0);
|
|
@ -11,12 +11,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
{
|
||||
public void SaveStateText(TextWriter writer)
|
||||
{
|
||||
ser.Serialize(writer, new DGBSerialized(this));
|
||||
ser.Serialize(writer, new GBLSerialized(this));
|
||||
}
|
||||
|
||||
public void LoadStateText(TextReader reader)
|
||||
{
|
||||
var s = (DGBSerialized)ser.Deserialize(reader, typeof(DGBSerialized));
|
||||
var s = (GBLSerialized)ser.Deserialize(reader, typeof(GBLSerialized));
|
||||
if (s.NumCores != _numCores)
|
||||
{
|
||||
throw new InvalidOperationException("Core number mismatch!");
|
||||
|
@ -86,7 +86,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
|
||||
private readonly JsonSerializer ser = new JsonSerializer { Formatting = Formatting.Indented };
|
||||
|
||||
private class DGBSerialized
|
||||
private class GBLSerialized
|
||||
{
|
||||
public int NumCores;
|
||||
public TextState<Gameboy.TextStateData>[] LinkedStates;
|
||||
|
@ -103,7 +103,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
public bool LinkSpaced;
|
||||
public bool LinkSpaceSignal;
|
||||
|
||||
public DGBSerialized(GambatteLink linkcore)
|
||||
public GBLSerialized(GambatteLink linkcore)
|
||||
{
|
||||
if (linkcore == null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue