Whoops: missed some updated files caught up in the stlecop updates.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-07-21 13:12:28 +01:00
parent 8dea5746c4
commit 5185346b8d
7 changed files with 28 additions and 14 deletions

View File

@ -1,4 +1,7 @@
namespace Fuse
// <copyright file="MemoryDatum.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
namespace Fuse
{
using System;
using System.Collections.Generic;

View File

@ -1,4 +1,7 @@
namespace Fuse
// <copyright file="Result.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
namespace Fuse
{
using System;
using System.Collections.Generic;

View File

@ -1,4 +1,7 @@
namespace Fuse
// <copyright file="TestEvents.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
namespace Fuse
{
using System.Collections.Generic;
using System.Collections.ObjectModel;

View File

@ -10,7 +10,8 @@ namespace EightBit
private readonly uint[] colours = new uint[4];
protected AbstractColourPalette()
{ }
{
}
public uint Colour(int index) => this.colours[index];
}

View File

@ -282,22 +282,22 @@ namespace EightBit
this.scanP15 = (value & (byte)Bits.Bit5) == 0;
break;
case SB: // R/W
case SC: // R/W
case SB: // R/W
case SC: // R/W
break;
case DIV: // R/W
case DIV: // R/W
this.Poke(port, 0);
this.timerCounter = this.divCounter.Word = 0;
break;
case TIMA: // R/W
case TMA: // R/W
case TIMA: // R/W
case TMA: // R/W
break;
case TAC: // R/W
case TAC: // R/W
this.timerRate = this.TimerClockTicks;
break;
case IF: // R/W
case IF: // R/W
break;
case LCDC:
@ -309,7 +309,7 @@ namespace EightBit
this.dmaAddress.Word = Chip.PromoteByte(value);
this.dmaTransferActive = true;
break;
case LY: // R/O
case LY: // R/O
this.Poke(port, 0);
break;
case BGP:

View File

@ -1,4 +1,7 @@
using System.Reflection;
// <copyright file="AssemblyInfo.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

View File

@ -46,7 +46,7 @@
<Compile Include="CharacterDefinition.cs" />
<Compile Include="ColourShades.cs" />
<Compile Include="Display.cs" />
<Compile Include="GameboyBus.cs" />
<Compile Include="Bus.cs" />
<Compile Include="Interrupts.cs" />
<Compile Include="IoRegisters.cs" />
<Compile Include="LcdcControl.cs" />
@ -65,6 +65,7 @@
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<AdditionalFiles Include="stylecop.json" />
</ItemGroup>
<ItemGroup>
<Analyzer Include="..\packages\StyleCop.Analyzers.1.1.118\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />