mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-11-25 21:17:35 +00:00
Implement some suggestions from the code analysis.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -55,10 +55,7 @@ namespace EightBit
|
||||
return this.Read();
|
||||
}
|
||||
|
||||
public byte Read(Register16 absolute)
|
||||
{
|
||||
return this.Read(absolute.Word);
|
||||
}
|
||||
public byte Read(Register16 absolute) => this.Read(absolute.Word);
|
||||
|
||||
public byte Read(byte low, byte high)
|
||||
{
|
||||
@@ -86,10 +83,7 @@ namespace EightBit
|
||||
this.Write(value);
|
||||
}
|
||||
|
||||
public void Write(Register16 absolute, byte value)
|
||||
{
|
||||
this.Write(absolute.Word, value);
|
||||
}
|
||||
public void Write(Register16 absolute, byte value) => this.Write(absolute.Word, value);
|
||||
|
||||
public void Write(byte low, byte high, byte value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user