mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-01-11 07:30:10 +00:00
Tidy up a stylecop suggestion.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
42d7095dab
commit
900ac02869
@ -32,6 +32,12 @@
|
|||||||
return (byte)((input.high << 7) | (input.variable & (byte)Mask.Mask7));
|
return (byte)((input.high << 7) | (input.variable & (byte)Mask.Mask7));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static RefreshRegister Increment(RefreshRegister value)
|
||||||
|
{
|
||||||
|
++value.variable;
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
public static RefreshRegister FromByte(byte input)
|
public static RefreshRegister FromByte(byte input)
|
||||||
{
|
{
|
||||||
return new RefreshRegister(input);
|
return new RefreshRegister(input);
|
||||||
@ -42,12 +48,6 @@
|
|||||||
return ToByte(this);
|
return ToByte(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static RefreshRegister Increment(RefreshRegister value)
|
|
||||||
{
|
|
||||||
++value.variable;
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (!(obj is RefreshRegister))
|
if (!(obj is RefreshRegister))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user