diff --git a/src/BizHawk.Emulation.Common/Base Implementations/Bk2MnemonicLookup.cs b/src/BizHawk.Emulation.Common/Base Implementations/Bk2MnemonicLookup.cs index b869057775..8dd47d7d4a 100644 --- a/src/BizHawk.Emulation.Common/Base Implementations/Bk2MnemonicLookup.cs +++ b/src/BizHawk.Emulation.Common/Base Implementations/Bk2MnemonicLookup.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using BizHawk.Common.StringExtensions; namespace BizHawk.Emulation.Common diff --git a/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.ISaveRam.cs b/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.ISaveRam.cs index ef46a619ed..45b6455282 100644 --- a/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.ISaveRam.cs +++ b/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.ISaveRam.cs @@ -45,7 +45,7 @@ namespace BizHawk.Emulation.Cores.Computers.DOS // Don't do anything if no writable hard disk was chosen if (_syncSettings.WriteableHardDisk == WriteableHardDiskOptions.None) return; - unsafe + unsafe { fixed (byte* p = data) { diff --git a/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.cs b/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.cs index 870f98554e..18b24d82cc 100644 --- a/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.cs +++ b/src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.cs @@ -322,7 +322,7 @@ namespace BizHawk.Emulation.Cores.Computers.DOS { // Console.WriteLine($"Reading from {cdRomName} : {lba} : {sectorSize}"); - if (! _cdRomFileToReaderMap.ContainsKey( cdRomName ) ) throw new InvalidOperationException($"Unrecognized CD File with name: {cdRomName}"); + if (!_cdRomFileToReaderMap.ContainsKey(cdRomName)) throw new InvalidOperationException($"Unrecognized CD File with name: {cdRomName}"); byte[] sectorBuffer = new byte[4096]; var cdRomReader = _cdRomFileToReaderMap[cdRomName];