zero warnings!
This commit is contained in:
parent
cc8308495d
commit
c3e0d8824c
|
@ -91,7 +91,7 @@
|
||||||
)]
|
)]
|
||||||
public static uint Set(uint num, int pos)
|
public static uint Set(uint num, int pos)
|
||||||
{
|
{
|
||||||
return (uint)(num | 1 << pos);
|
return (uint)(num | (uint)1 << pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
[LuaMethodAttributes(
|
[LuaMethodAttributes(
|
||||||
|
|
|
@ -3390,7 +3390,6 @@
|
||||||
private System.Windows.Forms.ToolStripMenuItem BackupSaveramMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem BackupSaveramMenuItem;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel RebootStatusBarIcon;
|
private System.Windows.Forms.ToolStripStatusLabel RebootStatusBarIcon;
|
||||||
private System.Windows.Forms.ToolStripMenuItem TraceLoggerMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem TraceLoggerMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem UseBilinearMenuItem;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem ShowClippedRegionsMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem ShowClippedRegionsMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator24;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator24;
|
||||||
private System.Windows.Forms.ToolStripMenuItem HighlightActiveDisplayRegionMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem HighlightActiveDisplayRegionMenuItem;
|
||||||
|
|
|
@ -45,8 +45,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
IGL GL;
|
IGL GL;
|
||||||
public GraphicsControl GraphicsControl;
|
public GraphicsControl GraphicsControl;
|
||||||
|
|
||||||
private bool Vsync;
|
|
||||||
|
|
||||||
public Control Control { get { return GraphicsControl; } }
|
public Control Control { get { return GraphicsControl; } }
|
||||||
public static implicit operator Control(PresentationPanel self) { return self.GraphicsControl; }
|
public static implicit operator Control(PresentationPanel self) { return self.GraphicsControl; }
|
||||||
|
|
||||||
|
|
|
@ -385,10 +385,6 @@ namespace BizHawk.Common
|
||||||
{
|
{
|
||||||
decimal size = filesize;
|
decimal size = filesize;
|
||||||
|
|
||||||
const decimal OneKiloByte = 1024M;
|
|
||||||
const decimal OneMegaByte = OneKiloByte * 1024M;
|
|
||||||
decimal OneGigaByte = OneMegaByte * 1024M;
|
|
||||||
|
|
||||||
string suffix;
|
string suffix;
|
||||||
if (size > 1024 * 1024 * 1024)
|
if (size > 1024 * 1024 * 1024)
|
||||||
{
|
{
|
||||||
|
@ -407,7 +403,7 @@ namespace BizHawk.Common
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
suffix = " B";
|
suffix = "B";
|
||||||
}
|
}
|
||||||
|
|
||||||
const string precision = "2";
|
const string precision = "2";
|
||||||
|
|
Loading…
Reference in New Issue