mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-03-11 05:41:49 +00:00
Correct some analysis issues
This commit is contained in:
@@ -104,6 +104,8 @@ namespace Z80
|
||||
|
||||
public string Disassemble(Z80 cpu, ushort pc)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(cpu);
|
||||
|
||||
var opCode = this.Bus.Peek(pc);
|
||||
|
||||
var decoded = cpu.GetDecodedOpCode(opCode);
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Z80.FuseTest
|
||||
using Fuse;
|
||||
using System.Globalization;
|
||||
|
||||
internal class RegisterState : AbstractRegisterState, IRegisterState
|
||||
internal sealed class RegisterState : AbstractRegisterState, IRegisterState
|
||||
{
|
||||
public int I { get; private set; } = -1;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Z80.FuseTest
|
||||
MEMPTR,
|
||||
}
|
||||
|
||||
internal class TestRunner : EightBit.Bus
|
||||
internal sealed class TestRunner : EightBit.Bus
|
||||
{
|
||||
private readonly Test<RegisterState> test;
|
||||
private readonly Result<RegisterState> result;
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Z80.FuseTest
|
||||
{
|
||||
using Fuse;
|
||||
|
||||
internal class TestSuite(string path)
|
||||
internal sealed class TestSuite(string path)
|
||||
{
|
||||
private readonly Tests<RegisterState> tests = new(path + ".in");
|
||||
private readonly Results<RegisterState> results = new(path + ".expected");
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Z80.Test
|
||||
using EightBit;
|
||||
using System.Globalization;
|
||||
|
||||
internal class Board : Bus
|
||||
internal sealed class Board : Bus
|
||||
{
|
||||
private readonly Configuration configuration;
|
||||
private readonly Ram ram;
|
||||
|
||||
Reference in New Issue
Block a user