diff --git a/BizHawk.Client.EmuHawk/AVOut/FFmpegWriterForm.cs b/BizHawk.Client.EmuHawk/AVOut/FFmpegWriterForm.cs index f947ca9732..b01739f300 100644 --- a/BizHawk.Client.EmuHawk/AVOut/FFmpegWriterForm.cs +++ b/BizHawk.Client.EmuHawk/AVOut/FFmpegWriterForm.cs @@ -70,7 +70,7 @@ namespace BizHawk.Client.EmuHawk new FormatPreset("FLV", "AVC video and AAC audio in a Flash Video container.", "-c:a aac -c:v libx264 -f flv", false, "flv"), new FormatPreset("[Custom]", "Write your own ffmpeg command. For advanced users only.", - "-c:a foo -c:v bar -f baz", true, "foobar"), + "-c:a foo -c:v bar -f baz", true, "foobar") }; } diff --git a/BizHawk.Client.EmuHawk/AVOut/NutMuxer.cs b/BizHawk.Client.EmuHawk/AVOut/NutMuxer.cs index 16f8fc37da..def2a9629f 100644 --- a/BizHawk.Client.EmuHawk/AVOut/NutMuxer.cs +++ b/BizHawk.Client.EmuHawk/AVOut/NutMuxer.cs @@ -192,7 +192,7 @@ namespace BizHawk.Client.EmuHawk 0x00000000, 0x04C11DB7, 0x09823B6E, 0x0D4326D9, 0x130476DC, 0x17C56B6B, 0x1A864DB2, 0x1E475005, 0x2608EDB8, 0x22C9F00F, 0x2F8AD6D6, 0x2B4BCB61, - 0x350C9B64, 0x31CD86D3, 0x3C8EA00A, 0x384FBDBD, + 0x350C9B64, 0x31CD86D3, 0x3C8EA00A, 0x384FBDBD }; /// diff --git a/BizHawk.Client.EmuHawk/Communication.cs b/BizHawk.Client.EmuHawk/Communication.cs index ca177ab6a9..571a49886b 100644 --- a/BizHawk.Client.EmuHawk/Communication.cs +++ b/BizHawk.Client.EmuHawk/Communication.cs @@ -128,7 +128,7 @@ namespace BizHawk.Client.EmuHawk { var values = new Dictionary { - ["payload"] = payload, + ["payload"] = payload }; FormUrlEncodedContent content = new FormUrlEncodedContent(values); return Post(PostUrl, content).Result; diff --git a/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.Drawing.cs b/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.Drawing.cs index 6c71db09d6..4088e979da 100644 --- a/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.Drawing.cs +++ b/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.Drawing.cs @@ -524,7 +524,7 @@ namespace BizHawk.Client.EmuHawk Cell relativeCell = new Cell { RowIndex = cell.RowIndex - visibleRows.Start, - Column = cell.Column, + Column = cell.Column }; relativeCell.RowIndex -= CountLagFramesAbsolute(relativeCell.RowIndex.Value); diff --git a/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs b/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs index b5978f1169..6f1ed73f4e 100644 --- a/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs @@ -946,7 +946,7 @@ namespace BizHawk.Client.EmuHawk { Name = "RotateMenuItem", Text = "Rotate", - ShortcutKeyDisplayString = RotateHotkeyStr, + ShortcutKeyDisplayString = RotateHotkeyStr }; rotate.Click += (o, ev) => { HorizontalOrientation ^= true; }; diff --git a/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs b/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs index a98fa57f42..3f8b69b826 100644 --- a/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs +++ b/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs @@ -431,7 +431,7 @@ namespace BizHawk.Client.EmuHawk VideoProvider = videoProvider, Simulate = displayNothing, ChainOutsize = GraphicsControl.Size, - IncludeOSD = true, + IncludeOSD = true }; UpdateSourceInternal(job); } @@ -651,7 +651,7 @@ namespace BizHawk.Client.EmuHawk { VideoProvider = fvp, Simulate = true, - ChainOutsize = chainOutsize, + ChainOutsize = chainOutsize }; var filterProgram = UpdateSourceInternal(job); diff --git a/BizHawk.Client.EmuHawk/GraphicsImplementations/IGL_SlimDX9.cs b/BizHawk.Client.EmuHawk/GraphicsImplementations/IGL_SlimDX9.cs index c5ab19d94c..02c5124606 100644 --- a/BizHawk.Client.EmuHawk/GraphicsImplementations/IGL_SlimDX9.cs +++ b/BizHawk.Client.EmuHawk/GraphicsImplementations/IGL_SlimDX9.cs @@ -434,7 +434,7 @@ namespace BizHawk.Client.EmuHawk VertexDeclaration = new VertexDeclaration(Dev, ves), VertexShader = vertexShader.Opaque as ShaderWrapper, FragmentShader = fragmentShader.Opaque as ShaderWrapper, - VertexStride = stride, + VertexStride = stride }; //scan uniforms from constant tables diff --git a/BizHawk.Client.EmuHawk/Input/Input.cs b/BizHawk.Client.EmuHawk/Input/Input.cs index 1695e6d1a6..080a49db75 100644 --- a/BizHawk.Client.EmuHawk/Input/Input.cs +++ b/BizHawk.Client.EmuHawk/Input/Input.cs @@ -111,7 +111,7 @@ namespace BizHawk.Client.EmuHawk // // Summary: // The ALT modifier key. - Alt = 262144, + Alt = 262144 } public static Input Instance { get; private set; } diff --git a/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs b/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs index 5e9f8c96b3..c36716c207 100644 --- a/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs +++ b/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs @@ -131,7 +131,7 @@ namespace BizHawk.Client.EmuHawk { Location = new Point(x + _inputSize + _labelPadding, y + UIHelper.ScaleY(3)), Size = new Size(UIHelper.ScaleX(100), UIHelper.ScaleY(15)), - Text = _buttons[i].Replace('_', ' ').Trim(), + Text = _buttons[i].Replace('_', ' ').Trim() }; ////Tooltip.SetToolTip(label, null); //??? not supported yet diff --git a/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs b/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs index 21e9d1930e..a66e051919 100644 --- a/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs +++ b/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs @@ -59,7 +59,7 @@ namespace BizHawk.Client.EmuHawk ["AmstradCPC"] = "Amstrad CPC", ["ChannelF"] = "Channel F", ["Vectrex"] = "Vectrex", - ["MSX"] = "MSX", + ["MSX"] = "MSX" }; public string TargetSystem { get; set; } diff --git a/BizHawk.Client.EmuHawk/config/PathConfig.cs b/BizHawk.Client.EmuHawk/config/PathConfig.cs index a8885b23bb..86f8f82911 100644 --- a/BizHawk.Client.EmuHawk/config/PathConfig.cs +++ b/BizHawk.Client.EmuHawk/config/PathConfig.cs @@ -38,7 +38,7 @@ namespace BizHawk.Client.EmuHawk "%exe%", "%rom%", ".\\", - "..\\", + "..\\" }; public PathConfig(MainForm mainForm, Config config) @@ -134,7 +134,7 @@ namespace BizHawk.Client.EmuHawk MinimumSize = new Size(UIHelper.ScaleX(26), UIHelper.ScaleY(23)), AutoCompleteMode = AutoCompleteMode.SuggestAppend, AutoCompleteCustomSource = AutoCompleteOptions, - AutoCompleteSource = AutoCompleteSource.CustomSource, + AutoCompleteSource = AutoCompleteSource.CustomSource }; var btn = new Button @@ -144,7 +144,7 @@ namespace BizHawk.Client.EmuHawk Location = new Point(widgetOffset, y + buttonOffsetY), Size = new Size(buttonWidth, buttonHeight), Name = path.Type, - Anchor = AnchorStyles.Top | AnchorStyles.Right, + Anchor = AnchorStyles.Top | AnchorStyles.Right }; var tempBox = box; @@ -191,7 +191,7 @@ namespace BizHawk.Client.EmuHawk Location = new Point(widgetOffset + buttonWidth + padding + infoPadding, y + UIHelper.ScaleY(4)), Size = new Size(UIHelper.ScaleX(100), UIHelper.ScaleY(15)), Name = path.Type, - Anchor = AnchorStyles.Top | AnchorStyles.Right, + Anchor = AnchorStyles.Top | AnchorStyles.Right }; t.Controls.Add(label); diff --git a/BizHawk.Client.EmuHawk/config/ZXSpectrum/ZXSpectrumNonSyncSettings.cs b/BizHawk.Client.EmuHawk/config/ZXSpectrum/ZXSpectrumNonSyncSettings.cs index 05419c2c17..20c81da193 100644 --- a/BizHawk.Client.EmuHawk/config/ZXSpectrum/ZXSpectrumNonSyncSettings.cs +++ b/BizHawk.Client.EmuHawk/config/ZXSpectrum/ZXSpectrumNonSyncSettings.cs @@ -121,7 +121,7 @@ namespace BizHawk.Client.EmuHawk System.Drawing.Color.FromArgb(0x00, 0xFF, 0x00), System.Drawing.Color.FromArgb(0x00, 0xFF, 0xFF), System.Drawing.Color.FromArgb(0xFF, 0xFF, 0x00), - System.Drawing.Color.FromArgb(0xFF, 0xFF, 0xFF), + System.Drawing.Color.FromArgb(0xFF, 0xFF, 0xFF) }; cd.CustomColors = new[] @@ -141,7 +141,7 @@ namespace BizHawk.Client.EmuHawk System.Drawing.ColorTranslator.ToOle(colors[12]), System.Drawing.ColorTranslator.ToOle(colors[13]), System.Drawing.ColorTranslator.ToOle(colors[14]), - System.Drawing.ColorTranslator.ToOle(colors[15]), + System.Drawing.ColorTranslator.ToOle(colors[15]) }; cd.Color = c; diff --git a/BizHawk.Client.EmuHawk/tools/BatchRunner.cs b/BizHawk.Client.EmuHawk/tools/BatchRunner.cs index 764f1edfed..bbcdaf1040 100644 --- a/BizHawk.Client.EmuHawk/tools/BatchRunner.cs +++ b/BizHawk.Client.EmuHawk/tools/BatchRunner.cs @@ -48,7 +48,7 @@ namespace BizHawk.Client.EmuHawk ErrorOnLoad, // error method thrown on load FalseOnLoad, // RomLoader returned false with no other information ExceptOnAdv, // exception thrown on frame advance - Success, // load fully complete + Success // load fully complete } public EStatus Status { get; set; } // what happened diff --git a/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs b/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs index 3d6b082348..a3ced3bc67 100644 --- a/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs +++ b/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs @@ -1312,7 +1312,7 @@ namespace BizHawk.Client.EmuHawk new FilesystemFilter("Binary", new[] { "bin" }), new FilesystemFilter("Save Files", new[] { "sav" }) ).ToString(), - RestoreDirectory = true, + RestoreDirectory = true }; var result = sfd.ShowHawkDialog(); diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Tastudio.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Tastudio.cs index 4d015ed8b0..ec6dc2496c 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Tastudio.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Tastudio.cs @@ -41,13 +41,13 @@ namespace BizHawk.Client.EmuHawk { InputChange, InsertFrames, - DeleteFrames, + DeleteFrames } private enum InputChangeTypes { Bool, - Float, + Float } public class TastudioBranchInfo diff --git a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs index c44e5c1776..c4a4cf6a97 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs @@ -260,7 +260,7 @@ namespace BizHawk.Client.EmuHawk Filter = Path.GetFileName(path), NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.DirectoryName, - EnableRaisingEvents = true, + EnableRaisingEvents = true }; // TODO, Deleted and Renamed events diff --git a/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.cs b/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.cs index 51d40bbd4b..481f841a28 100644 --- a/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.cs +++ b/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.cs @@ -179,7 +179,7 @@ namespace BizHawk.Client.EmuHawk private static readonly byte[] EmptyWav = { 0x52, 0x49, 0x46, 0x46, 0x24, 0x04, 0x00, 0x00, 0x57, 0x41, 0x56, 0x45, 0x66, 0x6D, 0x74, 0x20, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0xE0, 0x2E, 0x00, 0x00, 0xC0, 0x5D, 0x00, 0x00, - 0x02, 0x00, 0x10, 0x00, 0x64, 0x61, 0x74, 0x61, 0x00, 0x04, 0x00, 0x00, + 0x02, 0x00, 0x10, 0x00, 0x64, 0x61, 0x74, 0x61, 0x00, 0x04, 0x00, 0x00 }; diff --git a/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.cs b/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.cs index 56dffb1c4c..d00e252ca4 100644 --- a/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.cs +++ b/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.cs @@ -490,7 +490,7 @@ namespace BizHawk.Client.EmuHawk enum eDisplayType { BG1 = 1, BG2 = 2, BG3 = 3, BG4 = 4, OBJTiles0, OBJTiles1, Tiles2bpp, Tiles4bpp, Tiles8bpp, TilesMode7, TilesMode7Ext, TilesMode7DC, Sprites, OBJ, - BG1Screen = 101, BG2Screen = 102, BG3Screen = 103, BG4Screen = 104, + BG1Screen = 101, BG2Screen = 102, BG3Screen = 103, BG4Screen = 104 } static bool IsDisplayTypeBG(eDisplayType type) { return type == eDisplayType.BG1 || type == eDisplayType.BG2 || type == eDisplayType.BG3 || type == eDisplayType.BG4; } static bool IsDisplayTypeOBJ(eDisplayType type) { return type == eDisplayType.OBJTiles0 || type == eDisplayType.OBJTiles1; } diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs index 105d67bc28..e0dba3fb3a 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs @@ -71,7 +71,7 @@ namespace BizHawk.Client.EmuHawk Name = UserTextColumnName, Text = "UserText", UnscaledWidth = 90 - }, + } }); } diff --git a/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs b/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs index 220e14edcc..25ffe9c4bd 100644 --- a/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs +++ b/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs @@ -55,7 +55,7 @@ namespace BizHawk.Client.EmuHawk : $"{Global.Game.FilesystemSafeName()}.{fileExt}", InitialDirectory = path, Filter = new FilesystemFilterSet(new FilesystemFilter(fileType, new[] { fileExt })).ToString(), - RestoreDirectory = true, + RestoreDirectory = true }; var result = sfd.ShowHawkDialog(); diff --git a/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs b/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs index 9b2c6a986e..0a54ceee22 100644 --- a/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs +++ b/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs @@ -946,7 +946,7 @@ namespace BizHawk.Client.EmuHawk new RollColumn { Text = "Value", Name = WatchList.Value, Visible = true, UnscaledWidth = 59, Type = ColumnType.Text }, new RollColumn { Text = "Prev", Name = WatchList.Prev, Visible = true, UnscaledWidth = 59, Type = ColumnType.Text }, new RollColumn { Text = "Changes", Name = WatchList.ChangesCol, Visible = true, UnscaledWidth = 60, Type = ColumnType.Text }, - new RollColumn { Text = "Diff", Name = WatchList.Diff, Visible = false, UnscaledWidth = 59, Type = ColumnType.Text }, + new RollColumn { Text = "Diff", Name = WatchList.Diff, Visible = false, UnscaledWidth = 59, Type = ColumnType.Text } }; PreviewMode = true; @@ -1086,7 +1086,7 @@ namespace BizHawk.Client.EmuHawk { Name = $"{type}ToolStripMenuItem", Text = Watch.DisplayTypeToString(type), - Checked = _settings.Type == type, + Checked = _settings.Type == type }; var type1 = type; item.Click += (o, ev) => DoDisplayTypeClick(type1);