mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-25 05:02:14 +00:00
Correct some analysis issues
This commit is contained in:
1 parent
79c15602eb
commit
eda9519068
5 files changed
+6
-4
No files matched your search
@@ -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