Remove NewHexEditor (can be developed on a branch instead)
This commit is contained in:
parent
fae50bc807
commit
39586a5bf0
|
@ -582,9 +582,6 @@
|
|||
<Compile Include="CustomControls\HexTextBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CustomControls\HexView.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CustomControls\InputRoll\Cell.cs" />
|
||||
<Compile Include="CustomControls\InputRoll\ColumnType.cs" />
|
||||
<Compile Include="CustomControls\InputRoll\InputRoll.cs">
|
||||
|
@ -919,12 +916,6 @@
|
|||
<Compile Include="tools\HexEditor\HexFind.Designer.cs">
|
||||
<DependentUpon>HexFind.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="tools\HexEditor\NewHexEditor.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tools\HexEditor\NewHexEditor.Designer.cs">
|
||||
<DependentUpon>NewHexEditor.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="tools\Lua\Libraries\EmuLuaLibrary.Client.cs" />
|
||||
<Compile Include="tools\Lua\Libraries\EmuLuaLibrary.Communication.cs" />
|
||||
<Compile Include="tools\Lua\Libraries\EmuLuaLibrary.Console.cs" />
|
||||
|
@ -1592,9 +1583,6 @@
|
|||
<EmbeddedResource Include="tools\HexEditor\HexFind.resx">
|
||||
<DependentUpon>HexFind.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="tools\HexEditor\NewHexEditor.resx">
|
||||
<DependentUpon>NewHexEditor.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="tools\Lua\LuaCanvas.resx">
|
||||
<DependentUpon>LuaCanvas.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
|
|
@ -1,116 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using BizHawk.Client.Common;
|
||||
using BizHawk.Client.EmuHawk.CustomControls;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public class HexView : Control
|
||||
{
|
||||
//private readonly IControlRenderer _renderer;
|
||||
private readonly Font NormalFont;
|
||||
private Size _charSize;
|
||||
|
||||
private long _arrayLength;
|
||||
|
||||
public HexView()
|
||||
{
|
||||
NormalFont = new Font("Courier New", 8); // Only support fixed width
|
||||
|
||||
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
||||
SetStyle(ControlStyles.UserPaint, true);
|
||||
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
|
||||
SetStyle(ControlStyles.Opaque, true);
|
||||
|
||||
//_renderer = new GdiRenderer();
|
||||
|
||||
//using (var g = CreateGraphics())
|
||||
//using (var LCK = _renderer.LockGraphics(g))
|
||||
//{
|
||||
// _charSize = _renderer.MeasureString("A", NormalFont); // TODO make this a property so changing it updates other values.
|
||||
//}
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
//_renderer.Dispose();
|
||||
|
||||
NormalFont.Dispose();
|
||||
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Paint
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
//using (var lck = _renderer.LockGraphics(e.Graphics))
|
||||
//{
|
||||
// _renderer.StartOffScreenBitmap(Width, Height);
|
||||
|
||||
// // White Background
|
||||
// _renderer.SetBrush(Color.White);
|
||||
// _renderer.SetSolidPen(Color.White);
|
||||
// _renderer.FillRectangle(0, 0, Width, Height);
|
||||
|
||||
|
||||
// _renderer.DrawString("Hello World", new Point(10, 10));
|
||||
|
||||
// _renderer.CopyToScreen();
|
||||
// _renderer.EndOffScreenBitmap();
|
||||
//}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the sets the virtual number of the length of the array to display
|
||||
/// </summary>
|
||||
[Category("Behavior")]
|
||||
public long ArrayLength
|
||||
{
|
||||
get
|
||||
{
|
||||
return _arrayLength;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_arrayLength = value;
|
||||
RecalculateScrollBars();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Event Handlers
|
||||
|
||||
[Category("Virtual")]
|
||||
public event QueryIndexValueHandler QueryIndexValue;
|
||||
|
||||
[Category("Virtual")]
|
||||
public event QueryIndexBkColorHandler QueryIndexBgColor;
|
||||
|
||||
[Category("Virtual")]
|
||||
public event QueryIndexForeColorHandler QueryIndexForeColor;
|
||||
|
||||
public delegate void QueryIndexValueHandler(int index, out long value);
|
||||
|
||||
public delegate void QueryIndexBkColorHandler(int index, ref Color color);
|
||||
|
||||
public delegate void QueryIndexForeColorHandler(int index, ref Color color);
|
||||
|
||||
#endregion
|
||||
|
||||
private void RecalculateScrollBars()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -233,8 +233,6 @@
|
|||
this.externalToolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.dummyExternalTool = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.batchRunnerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ExperimentalToolsSubMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.NewHexEditorMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.NESSubMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.coreToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.quickNESToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -2098,8 +2096,7 @@
|
|||
this.toolStripSeparator29,
|
||||
this.MultiDiskBundlerFileMenuItem,
|
||||
this.externalToolToolStripMenuItem,
|
||||
this.batchRunnerToolStripMenuItem,
|
||||
this.ExperimentalToolsSubMenu});
|
||||
this.batchRunnerToolStripMenuItem});
|
||||
this.ToolsSubMenu.Name = "ToolsSubMenu";
|
||||
this.ToolsSubMenu.Size = new System.Drawing.Size(47, 19);
|
||||
this.ToolsSubMenu.Text = "&Tools";
|
||||
|
@ -2261,22 +2258,6 @@
|
|||
this.batchRunnerToolStripMenuItem.Visible = false;
|
||||
this.batchRunnerToolStripMenuItem.Click += new System.EventHandler(this.BatchRunnerToolStripMenuItem_Click);
|
||||
//
|
||||
// ExperimentalToolsSubMenu
|
||||
//
|
||||
this.ExperimentalToolsSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.NewHexEditorMenuItem});
|
||||
this.ExperimentalToolsSubMenu.Name = "ExperimentalToolsSubMenu";
|
||||
this.ExperimentalToolsSubMenu.Size = new System.Drawing.Size(191, 22);
|
||||
this.ExperimentalToolsSubMenu.Text = "Experimental Tools";
|
||||
this.ExperimentalToolsSubMenu.DropDownOpened += new System.EventHandler(this.ExperimentalToolsSubMenu_DropDownOpened);
|
||||
//
|
||||
// NewHexEditorMenuItem
|
||||
//
|
||||
this.NewHexEditorMenuItem.Name = "NewHexEditorMenuItem";
|
||||
this.NewHexEditorMenuItem.Size = new System.Drawing.Size(155, 22);
|
||||
this.NewHexEditorMenuItem.Text = "New Hex Editor";
|
||||
this.NewHexEditorMenuItem.Click += new System.EventHandler(this.NewHexEditorMenuItem_Click);
|
||||
//
|
||||
// NESSubMenu
|
||||
//
|
||||
this.NESSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
|
@ -4738,8 +4719,6 @@
|
|||
private System.Windows.Forms.ToolStripMenuItem gameSharkConverterToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem dummyExternalTool;
|
||||
private System.Windows.Forms.ToolStripMenuItem RecordAVMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem ExperimentalToolsSubMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem NewHexEditorMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem SaveConfigAsMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem LoadConfigFromMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem SaveMovieAsMenuItem;
|
||||
|
|
|
@ -1394,8 +1394,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
BasicBotMenuItem.Enabled = GlobalWin.Tools.IsAvailable<BasicBot>();
|
||||
|
||||
gameSharkConverterToolStripMenuItem.Enabled = GlobalWin.Tools.IsAvailable<GameShark>();
|
||||
|
||||
ExperimentalToolsSubMenu.Visible = VersionInfo.DeveloperBuild;
|
||||
}
|
||||
|
||||
private void ExternalToolToolStripMenuItem_DropDownOpening(object sender, EventArgs e)
|
||||
|
@ -1425,11 +1423,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
private void ExperimentalToolsSubMenu_DropDownOpened(object sender, EventArgs e)
|
||||
{
|
||||
NewHexEditorMenuItem.Enabled = GlobalWin.Tools.IsAvailable<NewHexEditor>();
|
||||
}
|
||||
|
||||
private void ToolBoxMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalWin.Tools.Load<ToolBox>();
|
||||
|
@ -1524,11 +1517,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
form.ShowDialog();
|
||||
}
|
||||
|
||||
private void NewHexEditorMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalWin.Tools.Load<NewHexEditor>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region NES
|
||||
|
|
|
@ -1,102 +0,0 @@
|
|||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
partial class NewHexEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.HexMenu = new System.Windows.Forms.MenuStrip();
|
||||
this.FileSubMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.HexViewControl = new BizHawk.Client.EmuHawk.HexView();
|
||||
this.HexMenu.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// HexMenu
|
||||
//
|
||||
this.HexMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.FileSubMenu});
|
||||
this.HexMenu.Location = new System.Drawing.Point(0, 0);
|
||||
this.HexMenu.Name = "HexMenu";
|
||||
this.HexMenu.Size = new System.Drawing.Size(448, 24);
|
||||
this.HexMenu.TabIndex = 0;
|
||||
this.HexMenu.Text = "menuStrip1";
|
||||
//
|
||||
// FileSubMenu
|
||||
//
|
||||
this.FileSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ExitMenuItem});
|
||||
this.FileSubMenu.Name = "FileSubMenu";
|
||||
this.FileSubMenu.Size = new System.Drawing.Size(37, 20);
|
||||
this.FileSubMenu.Text = "&File";
|
||||
this.FileSubMenu.DropDownOpened += new System.EventHandler(this.FileSubMenu_DropDownOpened);
|
||||
//
|
||||
// ExitMenuItem
|
||||
//
|
||||
this.ExitMenuItem.Name = "ExitMenuItem";
|
||||
this.ExitMenuItem.ShortcutKeyDisplayString = "Alt+F4";
|
||||
this.ExitMenuItem.Size = new System.Drawing.Size(134, 22);
|
||||
this.ExitMenuItem.Text = "E&xit";
|
||||
this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click);
|
||||
//
|
||||
// HexViewControl
|
||||
//
|
||||
this.HexViewControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.HexViewControl.ArrayLength = 0;
|
||||
this.HexViewControl.Location = new System.Drawing.Point(12, 27);
|
||||
this.HexViewControl.Name = "HexViewControl";
|
||||
this.HexViewControl.Size = new System.Drawing.Size(424, 231);
|
||||
this.HexViewControl.TabIndex = 1;
|
||||
this.HexViewControl.Text = "hexView1";
|
||||
//
|
||||
// NewHexEditor
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(448, 270);
|
||||
this.Controls.Add(this.HexViewControl);
|
||||
this.Controls.Add(this.HexMenu);
|
||||
this.MainMenuStrip = this.HexMenu;
|
||||
this.Name = "NewHexEditor";
|
||||
this.Text = "NewHexEditor";
|
||||
this.Load += new System.EventHandler(this.NewHexEditor_Load);
|
||||
this.HexMenu.ResumeLayout(false);
|
||||
this.HexMenu.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.MenuStrip HexMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem FileSubMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem ExitMenuItem;
|
||||
private HexView HexViewControl;
|
||||
}
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using BizHawk.Emulation.Common;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public partial class NewHexEditor : Form, IToolFormAutoConfig
|
||||
{
|
||||
#region Initialize and Dependencies
|
||||
|
||||
[RequiredService]
|
||||
private IMemoryDomains MemoryDomains { get; set; }
|
||||
|
||||
[RequiredService]
|
||||
private IEmulator Emulator { get; set; }
|
||||
|
||||
public NewHexEditor()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Closing += (o, e) => SaveConfigSettings();
|
||||
|
||||
HexViewControl.QueryIndexValue += HexView_QueryIndexValue;
|
||||
HexViewControl.QueryIndexForeColor += HexView_QueryIndexForeColor;
|
||||
HexViewControl.QueryIndexBgColor += HexView_QueryIndexForeColor;
|
||||
}
|
||||
|
||||
private void NewHexEditor_Load(object sender, EventArgs e)
|
||||
{
|
||||
HexViewControl.ArrayLength = MemoryDomains.MainMemory.Size;
|
||||
}
|
||||
|
||||
private void SaveConfigSettings()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region IToolForm implementation
|
||||
|
||||
public void NewUpdate(ToolFormUpdateType type) { }
|
||||
|
||||
public void UpdateValues()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
public void FastUpdate()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
public void Restart()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
public bool AskSaveChanges()
|
||||
{
|
||||
return true; // TODO
|
||||
}
|
||||
|
||||
public bool UpdateBefore { get { return false; } }
|
||||
|
||||
#endregion
|
||||
|
||||
#region HexView Callbacks
|
||||
|
||||
private void HexView_QueryIndexValue(int index, out long value)
|
||||
{
|
||||
value = MemoryDomains.MainMemory.PeekByte(index);
|
||||
}
|
||||
|
||||
private void HexView_QueryIndexBgColor(int index, ref Color color)
|
||||
{
|
||||
color = Color.White;
|
||||
}
|
||||
|
||||
private void HexView_QueryIndexForeColor(int index, ref Color color)
|
||||
{
|
||||
color = Color.Black;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Menu Items
|
||||
|
||||
private void FileSubMenu_DropDownOpened(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ExitMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,123 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="HexMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -69,8 +69,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
continue;
|
||||
// if (!ApiInjector.IsAvailable(, t))
|
||||
// continue;
|
||||
if (t == typeof(HexView) && OSTailoredCode.CurrentOS != OSTailoredCode.DistinctOS.Windows)
|
||||
continue; // Skip this tool on Unix. It isn't finished and only causes exceptions
|
||||
|
||||
var instance = Activator.CreateInstance(t);
|
||||
|
||||
|
|
Loading…
Reference in New Issue