diff --git a/src/BizHawk.Bizware.Audio/SDL2WavStream.cs b/src/BizHawk.Bizware.Audio/SDL2WavStream.cs
index 1251a451c7..737998d0ee 100644
--- a/src/BizHawk.Bizware.Audio/SDL2WavStream.cs
+++ b/src/BizHawk.Bizware.Audio/SDL2WavStream.cs
@@ -38,7 +38,7 @@ namespace BizHawk.Bizware.Audio
AudioFormat.S32LSB or AudioFormat.F32LSB => 32,
_ => throw new InvalidOperationException(),
};
-
+
[DllImport("SDL2", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr SDL_LoadWAV_RW(
IntPtr src,
diff --git a/src/BizHawk.Bizware.Graphics.Controls/Controls/RetainedGraphicsControl.cs b/src/BizHawk.Bizware.Graphics.Controls/Controls/RetainedGraphicsControl.cs
index 14515add78..a4e5360ae3 100644
--- a/src/BizHawk.Bizware.Graphics.Controls/Controls/RetainedGraphicsControl.cs
+++ b/src/BizHawk.Bizware.Graphics.Controls/Controls/RetainedGraphicsControl.cs
@@ -100,7 +100,7 @@ namespace BizHawk.Bizware.Graphics.Controls
_graphicsControl.SwapBuffers();
return;
}
-
+
// if we're retaining, then we cant draw until we unbind! its semantically a bit odd, but we expect users to call SwapBuffers() before end, so we cant unbind in End() even thoug hit makes a bit more sense.
_gl.BindDefaultRenderTarget();
Draw();
diff --git a/src/BizHawk.Bizware.Graphics/BitmapBuffer.cs b/src/BizHawk.Bizware.Graphics/BitmapBuffer.cs
index f5dc16c4f1..df8a1fcdaf 100644
--- a/src/BizHawk.Bizware.Graphics/BitmapBuffer.cs
+++ b/src/BizHawk.Bizware.Graphics/BitmapBuffer.cs
@@ -145,7 +145,7 @@ namespace BizHawk.Bizware.Graphics
}
UnlockBits(bmpdata);
-
+
Pixels = newPixels;
}
@@ -266,7 +266,7 @@ namespace BizHawk.Bizware.Graphics
Width = widthRound;
Height = heightRound;
}
-
+
///
/// Creates a BitmapBuffer image from the specified filename
///
@@ -376,7 +376,7 @@ namespace BizHawk.Bizware.Graphics
if (srcPixel != 0)
{
var color = palette[srcPixel].ToArgb();
-
+
// make transparent pixels turn into black to avoid filtering issues and other annoying issues with stray junk in transparent pixels.
// (yes, we can have palette entries with transparency in them (PNGs support this, annoyingly))
if (cleanup)
diff --git a/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs b/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs
index 2e195f31c0..677fa93244 100644
--- a/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs
+++ b/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs
@@ -128,7 +128,7 @@ namespace BizHawk.Bizware.Graphics
{
throw new($"Could not set GL Major Version! SDL Error: {SDL_GetError()}");
}
-
+
if (SDL_GL_SetAttribute(SDL_GLattr.SDL_GL_CONTEXT_MINOR_VERSION, minorVersion) != 0)
{
throw new($"Could not set GL Minor Version! SDL Error: {SDL_GetError()}");
diff --git a/src/BizHawk.Bizware.Graphics/Renderers/SDLImGui2DRenderer.cs b/src/BizHawk.Bizware.Graphics/Renderers/SDLImGui2DRenderer.cs
index b937913757..383c4db278 100644
--- a/src/BizHawk.Bizware.Graphics/Renderers/SDLImGui2DRenderer.cs
+++ b/src/BizHawk.Bizware.Graphics/Renderers/SDLImGui2DRenderer.cs
@@ -164,7 +164,7 @@ namespace BizHawk.Bizware.Graphics
{
RenderCommand(sdlRenderer, IntPtr.Zero, _imGuiDrawList, cmd);
}
-
+
break;
}
case DrawCallbackId.DisableBlending:
diff --git a/src/BizHawk.Bizware.Graphics/Renderers/StringRenderer.cs b/src/BizHawk.Bizware.Graphics/Renderers/StringRenderer.cs
index 189c1229b0..9b50848274 100644
--- a/src/BizHawk.Bizware.Graphics/Renderers/StringRenderer.cs
+++ b/src/BizHawk.Bizware.Graphics/Renderers/StringRenderer.cs
@@ -16,7 +16,7 @@ namespace BizHawk.Bizware.Graphics
Owner = owner;
FontInfo = new();
FontInfo.LoadBinary(fontInfo);
-
+
// load textures
for (var i = 0; i < FontInfo.Pages.Length; i++)
{
diff --git a/src/BizHawk.Bizware.Input/SDL2/SDL2Gamepad.cs b/src/BizHawk.Bizware.Input/SDL2/SDL2Gamepad.cs
index 6fceb3b8ac..f73543feff 100644
--- a/src/BizHawk.Bizware.Input/SDL2/SDL2Gamepad.cs
+++ b/src/BizHawk.Bizware.Input/SDL2/SDL2Gamepad.cs
@@ -22,7 +22,7 @@ namespace BizHawk.Bizware.Input
/// Contains name and delegate function for all buttons, hats and axis
public readonly IReadOnlyCollection<(string ButtonName, Func GetIsPressed)> ButtonGetters;
-
+
/// For use in keybind boxes
public string InputNamePrefix { get; private set; }
diff --git a/src/BizHawk.Bizware.Input/SDL2/SDL2InputAdapter.cs b/src/BizHawk.Bizware.Input/SDL2/SDL2InputAdapter.cs
index 343fd6d3fc..796244cd04 100644
--- a/src/BizHawk.Bizware.Input/SDL2/SDL2InputAdapter.cs
+++ b/src/BizHawk.Bizware.Input/SDL2/SDL2InputAdapter.cs
@@ -174,7 +174,7 @@ namespace BizHawk.Bizware.Input
const float SCALE_FACTOR = (float) (WIDTH / (double) int.MaxValue);
Console.WriteLine($"rumble: [{PACKED_BAR_GRAPHICS.Substring(startIndex: (leftStrength * SCALE_FACTOR).RoundToInt(), length: WIDTH)}] L / R [{PACKED_BAR_GRAPHICS.Substring(startIndex: 2 * WIDTH - (rightStrength * SCALE_FACTOR).RoundToInt(), length: WIDTH)}]");
#endif
- pad.SetVibration(leftStrength, rightStrength);
+ pad.SetVibration(leftStrength, rightStrength);
}
}
}
diff --git a/src/BizHawk.Client.Common/Api/Classes/EmuClientApi.cs b/src/BizHawk.Client.Common/Api/Classes/EmuClientApi.cs
index 9cc6a2246c..d874aa8755 100644
--- a/src/BizHawk.Client.Common/Api/Classes/EmuClientApi.cs
+++ b/src/BizHawk.Client.Common/Api/Classes/EmuClientApi.cs
@@ -58,16 +58,16 @@ namespace BizHawk.Client.Common
#pragma warning disable MA0091 // passing through `sender` is intentional
private void CallBeforeQuickLoad(object sender, BeforeQuickLoadEventArgs args)
=> BeforeQuickLoad?.Invoke(sender, args);
-
+
private void CallBeforeQuickSave(object sender, BeforeQuickSaveEventArgs args)
=> BeforeQuickSave?.Invoke(sender, args);
-
+
private void CallRomLoaded(object sender, EventArgs args)
=> RomLoaded?.Invoke(sender, args);
-
+
private void CallStateLoaded(object sender, StateLoadedEventArgs args)
=> StateLoaded?.Invoke(sender, args);
-
+
private void CallStateSaved(object sender, StateSavedEventArgs args)
=> StateSaved?.Invoke(sender, args);
#pragma warning restore MA0091
diff --git a/src/BizHawk.Client.Common/Api/Classes/JoypadApi.cs b/src/BizHawk.Client.Common/Api/Classes/JoypadApi.cs
index ea6f47bbf7..d508d926da 100644
--- a/src/BizHawk.Client.Common/Api/Classes/JoypadApi.cs
+++ b/src/BizHawk.Client.Common/Api/Classes/JoypadApi.cs
@@ -68,7 +68,7 @@ namespace BizHawk.Client.Common
var buttonToSet = controller == null ? button : $"P{controller} {button}";
if (state == null) _inputManager.ButtonOverrideAdapter.UnSet(buttonToSet);
else _inputManager.ButtonOverrideAdapter.SetButton(buttonToSet, state.Value);
-
+
//"Overrides" is a gross line of code in that flushes overrides into the current controller.
//That's not really the way it was meant to work which was that it should pull all its values through the filters before ever using them.
//Of course the code that does that is in the main loop and the lua API wouldnt know how to do it.
diff --git a/src/BizHawk.Client.Common/Controller.cs b/src/BizHawk.Client.Common/Controller.cs
index eba8729950..0b7603ac94 100644
--- a/src/BizHawk.Client.Common/Controller.cs
+++ b/src/BizHawk.Client.Common/Controller.cs
@@ -72,7 +72,7 @@ namespace BizHawk.Client.Common
public void LatchFromPhysical(IController finalHostController)
{
_buttons.Clear();
-
+
foreach (var (k, v) in _bindings)
{
_buttons[k] = false;
diff --git a/src/BizHawk.Client.Common/OpenAdvanced.cs b/src/BizHawk.Client.Common/OpenAdvanced.cs
index e76ec09671..490422d9d2 100644
--- a/src/BizHawk.Client.Common/OpenAdvanced.cs
+++ b/src/BizHawk.Client.Common/OpenAdvanced.cs
@@ -18,7 +18,7 @@ namespace BizHawk.Client.Common
/// returns a sole path to use for opening a rom (not sure if this is a good idea)
///
string SimplePath { get; }
-
+
void Deserialize(string str);
void Serialize(TextWriter tw);
}
@@ -96,7 +96,7 @@ namespace BizHawk.Client.Common
{
token = JsonConvert.DeserializeObject(str);
}
-
+
public void Serialize(TextWriter tw)
{
tw.Write(JsonConvert.SerializeObject(token));
diff --git a/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs b/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs
index 68cea796cb..859a530a84 100644
--- a/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs
+++ b/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs
@@ -138,7 +138,7 @@ namespace BizHawk.Client.Common.cheats
{
return SnesActionReplayDecoder.Decode(code);
}
-
+
return new InvalidCheatCode($"Unknown code type: {code}");
}
}
diff --git a/src/BizHawk.Client.Common/cheats/N64GameSharkDecoder.cs b/src/BizHawk.Client.Common/cheats/N64GameSharkDecoder.cs
index 411ff6d971..224d77daec 100644
--- a/src/BizHawk.Client.Common/cheats/N64GameSharkDecoder.cs
+++ b/src/BizHawk.Client.Common/cheats/N64GameSharkDecoder.cs
@@ -12,7 +12,7 @@ namespace BizHawk.Client.Common.cheats
{
throw new ArgumentNullException(nameof(code));
}
-
+
if (code.IndexOf(" ", StringComparison.Ordinal) != 8)
{
return new InvalidCheatCode("GameShark Codes need to contain a space after the eighth character.");
diff --git a/src/BizHawk.Client.Common/cheats/SaturnGameSharkDecoder.cs b/src/BizHawk.Client.Common/cheats/SaturnGameSharkDecoder.cs
index 19c00f73ee..2da8269f0e 100644
--- a/src/BizHawk.Client.Common/cheats/SaturnGameSharkDecoder.cs
+++ b/src/BizHawk.Client.Common/cheats/SaturnGameSharkDecoder.cs
@@ -36,7 +36,7 @@ namespace BizHawk.Client.Common.cheats
{
result.Size = WatchSize.Byte;
}
-
+
var s = code.Remove(0, 2);
result.Address = int.Parse(s.Remove(6, 5), NumberStyles.HexNumber);
result.Value = int.Parse(s.Remove(0, 7));
diff --git a/src/BizHawk.Client.Common/config/ConfigService.cs b/src/BizHawk.Client.Common/config/ConfigService.cs
index 2b341b2b3e..70286ddedb 100644
--- a/src/BizHawk.Client.Common/config/ConfigService.cs
+++ b/src/BizHawk.Client.Common/config/ConfigService.cs
@@ -25,7 +25,7 @@ namespace BizHawk.Client.Common
// because of the peculiar setup of Binding.cs and PathEntry.cs
ObjectCreationHandling = ObjectCreationHandling.Replace,
-
+
ContractResolver = new DefaultContractResolver
{
DefaultMembersSearchFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic,
diff --git a/src/BizHawk.Client.Common/inputAdapters/InputManager.cs b/src/BizHawk.Client.Common/inputAdapters/InputManager.cs
index afc8474a5d..a8466a232b 100644
--- a/src/BizHawk.Client.Common/inputAdapters/InputManager.cs
+++ b/src/BizHawk.Client.Common/inputAdapters/InputManager.cs
@@ -5,7 +5,7 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Client.Common
{
-
+
// don't take my word for it, but here is a guide...
// user -> Input -> ActiveController -> UDLR -> StickyXORPlayerInputAdapter -> TurboAdapter(TBD) -> Lua(?TBD?) -> ..
// .. -> MovieInputSourceAdapter -> (MovieSession) -> MovieOutputAdapter -> ControllerOutput(1) -> Game
diff --git a/src/BizHawk.Client.Common/lua/CommonLibs/ClientLuaLibrary.cs b/src/BizHawk.Client.Common/lua/CommonLibs/ClientLuaLibrary.cs
index e72d150447..c525292d55 100644
--- a/src/BizHawk.Client.Common/lua/CommonLibs/ClientLuaLibrary.cs
+++ b/src/BizHawk.Client.Common/lua/CommonLibs/ClientLuaLibrary.cs
@@ -416,10 +416,10 @@ namespace BizHawk.Client.Common
Log($"cheat codes not supported by the current system: {MainForm.Emulator.SystemId}");
return;
}
-
+
var decoder = new GameSharkDecoder(MainForm.Emulator.AsMemoryDomains(), MainForm.Emulator.SystemId);
var result = decoder.Decode(code);
-
+
if (result.IsValid(out var valid))
{
var domain = decoder.CheatDomain();
diff --git a/src/BizHawk.Client.Common/lua/LuaDocumentation.cs b/src/BizHawk.Client.Common/lua/LuaDocumentation.cs
index bbdb43b33d..21d489e81e 100644
--- a/src/BizHawk.Client.Common/lua/LuaDocumentation.cs
+++ b/src/BizHawk.Client.Common/lua/LuaDocumentation.cs
@@ -11,7 +11,7 @@ namespace BizHawk.Client.Common
public string ToTASVideosWikiMarkup()
{
var sb = new StringBuilder();
-
+
sb.AppendLine("__This is an autogenerated page, do not edit.__ (To update, open the function list dialog on a Debug build and click the wiki button.)")
.AppendLine()
.AppendLine("This page documents the the behavior and parameters of Lua functions available for the [BizHawk] emulator. The function list is also available from within EmuHawk. From the Lua Console, click Help > Lua Functions List or press F1.")
diff --git a/src/BizHawk.Client.Common/lua/LuaHelperLibs/GenesisLuaLibrary.cs b/src/BizHawk.Client.Common/lua/LuaHelperLibs/GenesisLuaLibrary.cs
index 830000d97d..9d75a47dfe 100644
--- a/src/BizHawk.Client.Common/lua/LuaHelperLibs/GenesisLuaLibrary.cs
+++ b/src/BizHawk.Client.Common/lua/LuaHelperLibs/GenesisLuaLibrary.cs
@@ -23,7 +23,7 @@ namespace BizHawk.Client.Common
get => APIs.Emulation.GetSettings() as GPGX.GPGXSettings ?? new GPGX.GPGXSettings();
set => APIs.Emulation.PutSettings(value);
}
-
+
[LuaMethodExample("if ( genesis.getlayer_bga( ) ) then\r\n\tconsole.log( \"Returns whether the bg layer A is displayed\" );\r\nend;")]
[LuaMethod("getlayer_bga", "Returns whether the bg layer A is displayed")]
public bool GetLayerBgA()
diff --git a/src/BizHawk.Client.Common/lua/LuaSandbox.cs b/src/BizHawk.Client.Common/lua/LuaSandbox.cs
index 666b8911c3..2d909ad20b 100644
--- a/src/BizHawk.Client.Common/lua/LuaSandbox.cs
+++ b/src/BizHawk.Client.Common/lua/LuaSandbox.cs
@@ -100,7 +100,7 @@ namespace BizHawk.Client.Common
{
return sandbox;
}
-
+
// for now: throw exception (I want to manually creating them)
// return CreateSandbox(thread);
throw new InvalidOperationException("HOARY GORILLA HIJINX");
diff --git a/src/BizHawk.Client.Common/movie/PlatformFrameRates.cs b/src/BizHawk.Client.Common/movie/PlatformFrameRates.cs
index b2c9c241e9..ef887a5961 100644
--- a/src/BizHawk.Client.Common/movie/PlatformFrameRates.cs
+++ b/src/BizHawk.Client.Common/movie/PlatformFrameRates.cs
@@ -95,7 +95,7 @@ namespace BizHawk.Client.Common
["ChannelF"] = 234375.0 / 3872.0, // (NTSCCarrier * 8 / 7) / (256 * 264)
// note: ChannelF II PAL timings might be slightly different...
- ["ChannelF_PAL"] = 15625.0 / 312.0, // 4000000 / (256 * 312)
+ ["ChannelF_PAL"] = 15625.0 / 312.0, // 4000000 / (256 * 312)
};
public static double GetFrameRate(string systemId, bool pal)
diff --git a/src/BizHawk.Client.Common/movie/SubtitleList.cs b/src/BizHawk.Client.Common/movie/SubtitleList.cs
index 9baf291c04..c20c5e305b 100644
--- a/src/BizHawk.Client.Common/movie/SubtitleList.cs
+++ b/src/BizHawk.Client.Common/movie/SubtitleList.cs
@@ -60,7 +60,7 @@ namespace BizHawk.Client.Common
return false;
}
}
-
+
return false;
}
diff --git a/src/BizHawk.Client.Common/movie/bk2/StringLogs.cs b/src/BizHawk.Client.Common/movie/bk2/StringLogs.cs
index c2c3649012..f84e17b7be 100644
--- a/src/BizHawk.Client.Common/movie/bk2/StringLogs.cs
+++ b/src/BizHawk.Client.Common/movie/bk2/StringLogs.cs
@@ -211,7 +211,7 @@ namespace BizHawk.Client.Common
}
void IEnumerator.Reset() { _index = -1; }
-
+
public void Dispose() { }
}
diff --git a/src/BizHawk.Client.Common/movie/import/GmvImport.cs b/src/BizHawk.Client.Common/movie/import/GmvImport.cs
index c6b07582c8..a09fa90612 100644
--- a/src/BizHawk.Client.Common/movie/import/GmvImport.cs
+++ b/src/BizHawk.Client.Common/movie/import/GmvImport.cs
@@ -17,7 +17,7 @@ namespace BizHawk.Client.Common.movie.import
{
using var fs = SourceFile.Open(FileMode.Open, FileAccess.Read);
using var r = new BinaryReader(fs, Encoding.ASCII);
-
+
// 000 16-byte signature and format version: "Gens Movie TEST9"
byte[] signature = r.ReadBytes(15);
if (!signature.SequenceEqual("Gens Movie TEST"u8))
@@ -37,7 +37,7 @@ namespace BizHawk.Client.Common.movie.import
uint rerecordCount = r.ReadUInt32();
Result.Movie.Rerecords = rerecordCount;
-
+
// 014 ASCII-encoded controller config for player 1. '3' or '6'.
char player1Config = r.ReadChar();
diff --git a/src/BizHawk.Client.Common/movie/import/HereticLmpImport.cs b/src/BizHawk.Client.Common/movie/import/HereticLmpImport.cs
index 7c70e4e564..fc8cd23c5f 100644
--- a/src/BizHawk.Client.Common/movie/import/HereticLmpImport.cs
+++ b/src/BizHawk.Client.Common/movie/import/HereticLmpImport.cs
@@ -9,7 +9,7 @@ namespace BizHawk.Client.Common
// In better detail, from archive.org: http://web.archive.org/web/20070630072856/http://demospecs.planetquake.gamespy.com/lmp/lmp.html
[ImporterFor("Heretic", ".hereticlmp")]
internal class HereticLmpImport : MovieImporter
- {
+ {
protected override void RunImport()
{
var input = SourceFile.OpenRead().ReadAllBytes();
diff --git a/src/BizHawk.Client.Common/movie/import/HexenLmpImport.cs b/src/BizHawk.Client.Common/movie/import/HexenLmpImport.cs
index 55ba32de29..98a3013708 100644
--- a/src/BizHawk.Client.Common/movie/import/HexenLmpImport.cs
+++ b/src/BizHawk.Client.Common/movie/import/HexenLmpImport.cs
@@ -9,7 +9,7 @@ namespace BizHawk.Client.Common
// In better detail, from archive.org: http://web.archive.org/web/20070630072856/http://demospecs.planetquake.gamespy.com/lmp/lmp.html
[ImporterFor("Hexen", ".hexenlmp")]
internal class HexenLmpImport : MovieImporter
- {
+ {
protected override void RunImport()
{
var input = SourceFile.OpenRead().ReadAllBytes();
diff --git a/src/BizHawk.Client.Common/movie/interfaces/IMovie.cs b/src/BizHawk.Client.Common/movie/interfaces/IMovie.cs
index 20822f3768..17bf1d5549 100644
--- a/src/BizHawk.Client.Common/movie/interfaces/IMovie.cs
+++ b/src/BizHawk.Client.Common/movie/interfaces/IMovie.cs
@@ -101,7 +101,7 @@ namespace BizHawk.Client.Common
/// Returns an error message, if any
/// Returns whether or not the input log in reader is in the same timeline as the movie
bool CheckTimeLines(TextReader reader, out string errorMessage);
-
+
///
/// Takes reader and extracts the input log, then replaces the movies input log with it
///
diff --git a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs
index 8a0120279c..4917ea1007 100644
--- a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs
+++ b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs
@@ -186,7 +186,7 @@ namespace BizHawk.Client.Common
Changes = true;
InvalidateAfter(frame);
-
+
ChangeLog.AddInsertInput(frame, inputLog.ToList(), $"Insert {inputLog.Count()} frame(s) at {frame}");
}
@@ -207,7 +207,7 @@ namespace BizHawk.Client.Common
{
int firstChangedFrame = -1;
ChangeLog.BeginNewBatch($"Copy Over Input: {frame}");
-
+
var states = inputStates.ToList();
if (Log.Count < states.Count + frame)
diff --git a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.History.cs b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.History.cs
index 4939b0e4ac..3a19ed4d7e 100644
--- a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.History.cs
+++ b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.History.cs
@@ -782,7 +782,7 @@ namespace BizHawk.Client.Common
_onlyEmpty = false;
_newInputs = newInputs;
}
-
+
public void Undo(ITasMovie movie)
{
bool wasRecording = movie.ChangeLog.IsRecording;
@@ -826,7 +826,7 @@ namespace BizHawk.Client.Common
_oldInputs = oldInputs;
_removedMarkers = removedMarkers;
}
-
+
public void Undo(ITasMovie movie)
{
bool wasRecording = movie.ChangeLog.IsRecording;
diff --git a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.IO.cs b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.IO.cs
index 0690668a74..492b3fe07c 100644
--- a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.IO.cs
+++ b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.IO.cs
@@ -60,7 +60,7 @@ namespace BizHawk.Client.Common
Markers.Clear();
ChangeLog.Clear();
}
-
+
protected override void LoadFields(ZipStateLoader bl)
{
base.LoadFields(bl);
@@ -78,7 +78,7 @@ namespace BizHawk.Client.Common
ChangeLog.Clear();
Changes = false;
}
-
+
private void LoadTasprojExtras(ZipStateLoader bl)
{
bl.GetLump(BinaryStateLump.LagLog, abort: false, tr => LagLog.Load(tr));
diff --git a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.cs b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.cs
index c780ca3573..9fb2bb5dac 100644
--- a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.cs
+++ b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.cs
@@ -153,7 +153,7 @@ namespace BizHawk.Client.Common
_displayCache.Controller.SetFromMnemonic(Log[frame]);
_displayCache.Frame = frame;
}
-
+
return CreateDisplayValueForButton(_displayCache.Controller, buttonName);
}
@@ -192,7 +192,7 @@ namespace BizHawk.Client.Common
TasStateManager.Capture(Emulator.Frame, Emulator.AsStatable(), Emulator.Frame == LastEditedFrame - 1);
}
-
+
public void CopyVerificationLog(IEnumerable log)
{
foreach (string entry in log)
diff --git a/src/BizHawk.Client.Common/movie/tasproj/TasMovieMarker.cs b/src/BizHawk.Client.Common/movie/tasproj/TasMovieMarker.cs
index cde19c87f6..4bf4e5f9de 100644
--- a/src/BizHawk.Client.Common/movie/tasproj/TasMovieMarker.cs
+++ b/src/BizHawk.Client.Common/movie/tasproj/TasMovieMarker.cs
@@ -81,7 +81,7 @@ namespace BizHawk.Client.Common
public class TasMovieMarkerList : List
{
private readonly ITasMovie _movie;
-
+
public TasMovieMarkerList(ITasMovie movie)
{
_movie = movie;
@@ -336,7 +336,7 @@ namespace BizHawk.Client.Common
{
return Find(m => m == frame);
}
-
+
public void ShiftAt(int frame, int offset)
{
foreach (var marker in this.Where(m => m.Frame >= frame).ToList())
diff --git a/src/BizHawk.Client.Common/movie/tasproj/ZwinderStateManager.cs b/src/BizHawk.Client.Common/movie/tasproj/ZwinderStateManager.cs
index ba12abd5c2..8b522b619d 100644
--- a/src/BizHawk.Client.Common/movie/tasproj/ZwinderStateManager.cs
+++ b/src/BizHawk.Client.Common/movie/tasproj/ZwinderStateManager.cs
@@ -62,7 +62,7 @@ namespace BizHawk.Client.Common
// init the reserved dictionary
RebuildReserved();
}
-
+
public byte[] this[int frame]
{
get
@@ -174,7 +174,7 @@ namespace BizHawk.Client.Common
if (_reserveCallback(si.Frame))
AddToReserved(si);
else
- buffer.Capture(si.Frame, s =>
+ buffer.Capture(si.Frame, s =>
{
using var rs = si.GetReadStream();
rs.CopyTo(s);
diff --git a/src/BizHawk.Client.Common/rewind/ZwinderBuffer.cs b/src/BizHawk.Client.Common/rewind/ZwinderBuffer.cs
index 97214aa761..37c52c421c 100644
--- a/src/BizHawk.Client.Common/rewind/ZwinderBuffer.cs
+++ b/src/BizHawk.Client.Common/rewind/ZwinderBuffer.cs
@@ -135,7 +135,7 @@ namespace BizHawk.Client.Common
{
return 1; // shrug
}
-
+
if (_fixedRewindInterval)
{
return _targetRewindInterval;
diff --git a/src/BizHawk.Client.Common/tools/Cheat.cs b/src/BizHawk.Client.Common/tools/Cheat.cs
index a9baa30bd4..bae019699e 100644
--- a/src/BizHawk.Client.Common/tools/Cheat.cs
+++ b/src/BizHawk.Client.Common/tools/Cheat.cs
@@ -116,7 +116,7 @@ namespace BizHawk.Client.Common
_ => string.Empty,
};
}
-
+
return "";
}
}
diff --git a/src/BizHawk.Client.Common/tools/CheatList.cs b/src/BizHawk.Client.Common/tools/CheatList.cs
index db5a8ae1a4..e685764ee6 100644
--- a/src/BizHawk.Client.Common/tools/CheatList.cs
+++ b/src/BizHawk.Client.Common/tools/CheatList.cs
@@ -177,7 +177,7 @@ namespace BizHawk.Client.Common
Changes = true;
return true;
}
-
+
return false;
}
@@ -320,7 +320,7 @@ namespace BizHawk.Client.Common
}
using var sr = file.OpenText();
-
+
if (!append)
{
Clear();
@@ -372,7 +372,7 @@ namespace BizHawk.Client.Common
type = Watch.DisplayTypeFromChar(vals[7][0]);
bigEndian = vals[8] == "1";
}
-
+
// For backwards compatibility, don't assume these values exist
if (vals.Length > 9)
{
diff --git a/src/BizHawk.Client.Common/tools/RamSearchEngine/RamSearchEngine.cs b/src/BizHawk.Client.Common/tools/RamSearchEngine/RamSearchEngine.cs
index 78e47dd261..19a9f802f8 100644
--- a/src/BizHawk.Client.Common/tools/RamSearchEngine/RamSearchEngine.cs
+++ b/src/BizHawk.Client.Common/tools/RamSearchEngine/RamSearchEngine.cs
@@ -359,7 +359,7 @@ namespace BizHawk.Client.Common.RamSearchEngine
get => _settings.UseUndoHistory;
set => _settings.UseUndoHistory = value;
}
-
+
public bool CanUndo => UndoEnabled && _history.CanUndo;
public bool CanRedo => UndoEnabled && _history.CanRedo;
diff --git a/src/BizHawk.Client.EmuHawk/AVOut/AviWriter.cs b/src/BizHawk.Client.EmuHawk/AVOut/AviWriter.cs
index c0c32d3a54..ae16339af6 100644
--- a/src/BizHawk.Client.EmuHawk/AVOut/AviWriter.cs
+++ b/src/BizHawk.Client.EmuHawk/AVOut/AviWriter.cs
@@ -485,7 +485,7 @@ namespace BizHawk.Client.EmuHawk
opts = _comprOptions;
}
-
+
private byte[] SerializeToByteArray()
{
var m = new MemoryStream();
diff --git a/src/BizHawk.Client.EmuHawk/AVOut/FFmpegDownloaderForm.cs b/src/BizHawk.Client.EmuHawk/AVOut/FFmpegDownloaderForm.cs
index e95488cdcc..a3b3d88f9b 100644
--- a/src/BizHawk.Client.EmuHawk/AVOut/FFmpegDownloaderForm.cs
+++ b/src/BizHawk.Client.EmuHawk/AVOut/FFmpegDownloaderForm.cs
@@ -73,7 +73,7 @@ namespace BizHawk.Client.EmuHawk
}
}
}
-
+
//throw new Exception("test of download failure");
//if we were ordered to exit, bail without wasting any more time
diff --git a/src/BizHawk.Client.EmuHawk/AVOut/FFmpegWriter.cs b/src/BizHawk.Client.EmuHawk/AVOut/FFmpegWriter.cs
index 5704493bb3..abf463493e 100644
--- a/src/BizHawk.Client.EmuHawk/AVOut/FFmpegWriter.cs
+++ b/src/BizHawk.Client.EmuHawk/AVOut/FFmpegWriter.cs
@@ -77,7 +77,7 @@ namespace BizHawk.Client.EmuHawk
_segment = 0;
OpenFileSegment();
}
-
+
///
/// starts an ffmpeg process and sets up associated sockets
///
diff --git a/src/BizHawk.Client.EmuHawk/AVOut/JMDWriter.cs b/src/BizHawk.Client.EmuHawk/AVOut/JMDWriter.cs
index 092a72729f..cb841df44d 100644
--- a/src/BizHawk.Client.EmuHawk/AVOut/JMDWriter.cs
+++ b/src/BizHawk.Client.EmuHawk/AVOut/JMDWriter.cs
@@ -110,7 +110,7 @@ namespace BizHawk.Client.EmuHawk
/// total length of the movie: ms
///
public ulong LengthMs { get; set; }
-
+
///
/// number of rerecords
///
@@ -382,7 +382,7 @@ namespace BizHawk.Client.EmuHawk
Data = source,
Timestamp = TimestampCalc(_fpsNum, _fpsDen, _totalFrames),
};
-
+
_totalFrames++;
WriteVideo(j);
}
@@ -422,7 +422,7 @@ namespace BizHawk.Client.EmuHawk
Subtype = 1, // raw PCM audio
Data = new byte[4],
};
-
+
j.Data[0] = (byte)(l >> 8);
j.Data[1] = (byte)(l & 255);
j.Data[2] = (byte)(r >> 8);
@@ -628,7 +628,7 @@ namespace BizHawk.Client.EmuHawk
/// blocking thread safe queue, used for communication between main program and file writing thread
///
private BlockingCollection