Correct a couple of small style issues.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-03-07 01:21:23 +00:00
parent e80963260d
commit 5b9a92c76c
3 changed files with 13 additions and 7 deletions

View File

@ -1,5 +1,8 @@
using System.Reflection; // <copyright file="AssemblyInfo.cs" company="Adrian Conlon">
using System.Runtime.CompilerServices; // Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following

View File

@ -59,7 +59,7 @@ namespace Z80.Test
this.Poke(0, 0xc3); // JMP this.Poke(0, 0xc3); // JMP
this.CPU.PokeWord(1, this.configuration.StartAddress); this.CPU.PokeWord(1, this.configuration.StartAddress);
this.Poke(5, 0xc9); // ret this.Poke(5, 0xc9); // ret
} }
public override MemoryMapping Mapping(ushort absolute) => this.mapping; public override MemoryMapping Mapping(ushort absolute) => this.mapping;
@ -85,14 +85,14 @@ namespace Z80.Test
{ {
switch (this.CPU.PC.Word) switch (this.CPU.PC.Word)
{ {
case 0x0: // CP/M warm start case 0x0: // CP/M warm start
if (++this.warmstartCount == 2) if (++this.warmstartCount == 2)
{ {
this.LowerPOWER(); this.LowerPOWER();
} }
break; break;
case 0x5: // BDOS case 0x5: // BDOS
this.BDOS(); this.BDOS();
break; break;
default: default:

View File

@ -1,5 +1,8 @@
using System.Reflection; // <copyright file="AssemblyInfo.cs" company="Adrian Conlon">
using System.Runtime.CompilerServices; // Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following